name=James age =42 help me this variable | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

name=James age =42 help me this variable

Name is age years old

6th Nov 2021, 10:43 AM
nakintu saudah
3 Respostas
+ 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