Help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Help

https://sololearn.com/coach/1032/?ref=app I didn’t get how am I suppose to solve this one.

10th May 2021, 9:43 AM
Sara_889
Sara_889 - avatar
10 Answers
+ 3
name = "James" age = "42" name = input() age = input() print(name + " is "+age+" years old")
16th Nov 2021, 6:34 PM
Mante Joseph
+ 1
Post your question as well as your attempt
10th May 2021, 9:49 AM
Atul [Inactive]
0
Atul I didn’t get the question in order to solve it so i post the link apove you’ll find the question.
10th May 2021, 9:54 AM
Sara_889
Sara_889 - avatar
0
If u will share code coach links here it will not be visible to others .So post your code in codebit and then share .
10th May 2021, 9:56 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
Now that we know how to take user input, let's improve our contact card program that we previously made using variables. Change the given code to take the name and age from user input and use them in the output.
10th May 2021, 9:57 AM
Sara_889
Sara_889 - avatar
0
name = int(input()) age = int(input()) print(name + age)
10th May 2021, 9:57 AM
Sara_889
Sara_889 - avatar
0
I don't know your question what u want but in name u written int remove int otherwise its fine name = input() age = int(input()) print(name , age)
10th May 2021, 10:02 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
name = input() age = input() print(name + " " + age)
8th Aug 2021, 10:17 PM
Mi Di
Mi Di - avatar
0
this code works so try it yourselves to see: name = input() age = input() print(name + " is "+age+" years old")
13th Aug 2021, 8:20 PM
FREDERIC DANIMBE
0
# copy this name = input() age = input() print(name + " is "+age+" years old")
10th Jun 2022, 10:31 PM
Ellyjah
Ellyjah - avatar