0
Pratice 13.3 name = "James" age = "42" print (name + "\tis" + age +"\tyears old") this my code
Please help to me I try many time that output wrong what is o/p of the code.
1 Answer
+ 2
Hello priya dharsini
You need to add some whitespaces to get the output "James is 42 years old"
print(name + " is " + age +
" years old")
"is" -> " is "
"years old" -> " years old"