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 do I solve this proportion?
copy this figure onto grid paper. draw line to divide the figure into 4 congruent polygons. how do you know the ploygons are congruent
what is perpendicular to y= 3x -9 and passes through the point (3,1)
A box contains bags of crisps. Each bag of crisps weighs 25 grams. Altogether, the bags of crisps inside the box weigh 1 kilogram. How many bags of crisps are i
A box contains bags of crisps. Each bag of crisps weighs 25 grams. Altogether, the bags of crisps inside the box weigh 1 kilogram. How many bags of crisps are i
What is the formula for the volume of a cuboid?
would you rather be a senator or a representative member? why or why not?
What is the main idea of Truman's statement about the use of atomic weapons
What are good book to read from war times about family / adoption / giving up of children
How many light sources do you know Pls list them