Welcome to Westonci.ca, your one-stop destination for finding answers to all your questions. Join our expert community now! Get immediate and reliable solutions to your questions from a knowledgeable community of professionals on our platform. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

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

Sagot :

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!'

Thanks for using our service. We're always here to provide accurate and up-to-date answers to all your queries. We appreciate your time. Please revisit us for more reliable answers to any questions you may have. We're glad you visited Westonci.ca. Return anytime for updated answers from our knowledgeable team.