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: ") On Thu, Oct 11, 2018 at 1:23 PM Carlton Banks <nofl...@gmail.com> wrote: > https://www.w3schools.com/python/ref_func_input.asp > > tor. 11. okt. 2018 18.51 skrev Carlton Banks <nofl...@gmail.com>: > > > What are you trying to do? > > > > tor. 11. okt. 2018 18.33 skrev Holly Jo <holly.orta...@gmail.com>: > > > >> > >> 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") > >> > >> > >> Sent from Mail for Windows 10 > >> > >> _______________________________________________ > >> Tutor maillist - Tutor@python.org > >> To unsubscribe or change subscription options: > >> https://mail.python.org/mailman/listinfo/tutor > >> > > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor