Combine the variables to display the sentence "How do you like Python so far?"
word1 = "How"
word2 = "do"
word3 = "you"
word4 = "like"
word5 = "Python"
word6 = "so"
word7 = "far?"
print(___)
Answers
Answered by
4
Answer:
word1 = "How"
word2 = "do"
word3 = "you"
word4 = "like"
word5 = "Python"
word6 = "so"
word7 = "far?"
print(word1,word2,word3,word4,word5,word6,word7,sep=" ")
Note:-
- sep=" " separates each word with spaces
- You can also use end=" " instead of sep=" "
Attachments:
Similar questions