0

Input

When I read this print("hello ") print("please enter your information") name= input("enter your name:") print ("name") print("hello "+ name) age= input("enter your age:") print("age") print(age+ "superb your age is perfect") Where are the bugs????

7th Aug 2023, 4:27 PM
Ikram Karima
Ikram Karima - avatar
3 Answers
+ 4
Ikram Karima Don't directly do the code when you not understand it, please don't mind firstly learn the course python from sololearn then is also a practice question inside that lesson, you will understand this code https://www.sololearn.com/Discuss/3231818/?ref=app
7th Aug 2023, 4:34 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 1
If you want to output a variable, then quotes are not needed. Divide several inputs into different lines. print("hello") print("please enter your information") name= input("enter your name: ") print (name) print("hello " + name) age= input("enter your age: ") print(age) print(age + " superb your age is perfect")
9th Aug 2023, 4:15 AM
Jane
Jane - avatar
0
That all depends on what you consider a bug. If you specify what the intended behavior of this is, I could provide some assistance. What is the misbehavior in the code here?
7th Aug 2023, 7:09 PM
Marcos Chamosa RodrĂ­guez
Marcos Chamosa RodrĂ­guez - avatar