[Tutor] Help please
Mark Lawrence
breamoreboy at gmail.com
Fri Oct 12 06:38:46 EDT 2018
On 12/10/18 04:31, Adam Eyring wrote:
> The program works as is in Python3. For Python2, change input to raw_input
> and see if that makes it work (I know it worked for me when I had Python2).
> Also, it looks better to use " + " instead of a comma:
> print("Combining these foods will you," + new_food)
>
> Also, colons and spaces are good practices when using input boxes, such as
> food_1=raw_input("Sushi: ")
>
Please don't top post as it makes reading long threads really irritating.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Tutor
mailing list