connectabdulrahmansh
connectabdulrahmansh connectabdulrahmansh
  • 04-06-2021
  • Computers and Technology
contestada

we use _____command to get data from the user? (python)

Respuesta :

29SunJustin1 29SunJustin1
  • 02-07-2021

Answer:

INPUT

Explanation:

EXAMPLE PYTHON CODE

_______________________________________________________

INPUT CODE:

_______________________________________________________

foo = input('foo: ')#Have some text printed before the input field

bar = foo

print(bar)

_______________________________________________________

OUTPUT CODE:

_______________________________________________________

foo: Hello World!

Hello World!

>>> bar

'Hello World!'

>>>foo

'Hello World!'

Answer Link

Otras preguntas

How many prime numbers are there between 56 and 100?
An object of mass 2 kg has a linear momentum of magnitude 6 kg • m/s. What is this object’s kinetic energy?
When y = x^2, which of the following expressions is equivalent to –y ?
Which cells undergo cell division? a. prokaryotic cells only b. eukaryotic cells only c. cancer cells only d. both prokaryotic and eukaryotic cells
how do you figure out what is 1/4 of 10.
If y^8= 4 and y^7=3/x, what is the value of y in terms of x?
A boy can swim 75 feet in 12 seconds. What is his rate to the nearest mile per hour?
the rectangles on a quilt are 2in. wide and 3in. long the perimeter of each rectangle is made by pattern of ref thread. if there are 30 rectangles in the quilt,
What caused the rise of military government in Japan?
A boy can swim 75 feet in 12 seconds. What is his rate to the nearest mile per hour?