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

When this 3-digit number is rounded to the nearest hundred it rounds down to 900.  The digit in the ones places is the fifth odd number that you count beginning
What is the sum of 24 and 40 as the product of their greatest common factor and another sum
Divide. Simplify your answer and write it as a proper fraction or as a whole or mixed number.1/8 ÷-1/4
Write the sum as a product of the GCF and a sum: 39 + 91
If 400ml of milk is used for 8 pancakes,how much is used for 6
please help find out what is b/3+17=48
What is the derivative of y=3tan(x)y=3 tan (x) ?
When this 3-digit number is rounded to the nearest ten or hundred, the numbers round up.  All of the digits in this number are the same.  The sum of the digits
How do I solve the equation   6=-w/8
4. In 1777, who commanded the American soldiers who captured 5,800 British soldiers under General Burgoyne at Saratoga