Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
Someone should kindly help on how to use input function to ask the computer to do something and to also print out the code
Name="Tom" Name="Bob" How do I ask the user for input and store it in the name variable and also display it on the screen.thats the task.chatbox v1.0 that's where I got the task.kindly help me through
6 Antworten
+ 4
read the lesson again, then try the task
my_input = input()
+ 2
Programming language?
Did you google this? Because this is one of the most basic tasks for any language.
0
I was given the input examples as Name=Tom
Name=Bob
So the problem is to store the user input in the name variable and display it on the screen
0
I didn't google it,it's part of the problems on the courses on python on this app
0
Thanks everyone I solved it