- 1

I feel like I have this right but can’t figure out the spaces

name = "James" age = "42" print( name + 'is' + age + 'years old') Thanks for feedback

24th Jan 2022, 1:51 AM
Rafael
3 Respuestas
+ 5
You can create spaces inside quotes or use comma as concat operator. ' is ' or name, 'is',....
24th Jan 2022, 1:59 AM
Simba
Simba - avatar
+ 2
Rafael, what's stopping you from writing text with a space?
24th Jan 2022, 2:02 AM
Solo
Solo - avatar
+ 1
Got it!
24th Jan 2022, 2:13 AM
Rafael