0
Complete the code to output "name is age years old", where name and age are the declared variable values.
name = "James" age = "42" print (name + "is" + age + "years" + "old") How to create space in these string??
4 Respuestas
+ 3
" years old" could be one whole string
+ 1
Simba Jay Matthews
Thanks 👍
0
print (name + " is " + age + " years old")
Use spaces to separated in " " and after a + and before