0
name=James age =42 help me this variable
Name is age years old
3 Respuestas
+ 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!
+ 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
+ 2
Thx so much ,I just wanted to try .thx so much