[Tutor] Help please

Alan Gauld alan.gauld at yahoo.co.uk
Thu Oct 11 12:59:23 EDT 2018

On 11/10/18 04:19, Holly Jo wrote:
> I have no clue what I’m doing wrong, I’m a new student 
> food_1=input("Sushi")
> food_2=input("Quesdilla")
> new_food=food_1+food_2
> print("Combining these foods will you,",new_food)
> input("Press enter to continue")

Please always tell us what has gone wrong. What you
expected and what you got. If there is an error message
send the full error text.

It also helps if you tell us which Python version
and OS you are using.

Based on the above I'm guessing you may be running
this Python v3 code using Python v2. One of the changes
between 3 and 2 is how input() works.

If that's not the case then you need to provide
more details, as requested above.

Alan G
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:

More information about the Tutor mailing list