My code is not running can someone help me with this | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

My code is not running can someone help me with this

https://sololearn.com/compiler-playground/cWNSojfWbzUS/?ref=app

29th Feb 2024, 3:02 AM
Binisha Gurung
Binisha Gurung - avatar
2 ответов
+ 1
Try this way it would be more readable and easy to understand. name = input() #enter your name here age = int(input()) #enter your age future_age = age + 1 #print name and future age print(f"Hello {name}, next year you will be {future_age} years old!")
1st Mar 2024, 2:17 AM
Manish
+ 5
When you run the code there is a popup windows, and it says: "Split multiple inputs into separate lines" It maybe hard to read on the web version, but clearly readable from apps. https://ibb.co/mTX3QwC So you need to enter your inputs like Binisha Gurung 42
29th Feb 2024, 4:42 AM
Wong Hei Ming
Wong Hei Ming - avatar