0

name=James age =42 help me this variable

Name is age years old

6th Nov 2021, 10:43 AM
nakintu saudah
3 Answers
+ 3
nakintu saudah , if you expect to get helpful hints from the community, please put a bit more effort in giving us the required information. â–Șbefore we are going to help you, please present your attempt here.     if you haven't done a try by yourself so far, please do so. create your code in playground and post the link to it here. â–Șplease also provide a proper task description with sample of input and output. â–Șif your question is related to a code coach exercise,  please mention the tutorial name and the exercise number. thanks!
6th Nov 2021, 10:57 AM
Lothar
Lothar - avatar
+ 2
Hi nakintu saudah I had a quick look at your profile and could not see any courses that you have started. May I suggest Python for Beginners which would explain this concept within the first few lessons. However because you have posted an attempt, let me try to assist further name = "James" age = 42 # you young thing print(name,"is",age,"years old") # There us a couple of other ways to achieve this including concatenation & string formating. As I said before, start a tutorial, there is heaps to learn
6th Nov 2021, 10:55 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
Thx so much ,I just wanted to try .thx so much
6th Nov 2021, 11:25 AM
nakintu saudah