+ 1
What is the output of this code? >>> word = input("Enter a word: ") Enter a word: cheese >>> print(word + ' shop')
i think the answer should be cheeseshop instead of cheese shop
1 Answer
+ 3
You might have missed it, but there's a space before shop in ' shop'. So the space gets printed between cheese and shop.