my first program in python

Published February 21, 2018
Advertisement
I wrote my first program (not including the false start last time I attempted programming) in Python... and it works! after a few bug fixes it's actually quite small and some would think insignificant.
But I'm getting used to the syntax and form of the language.
 
print ("hello")
print ("nwhat are your 2 favourite foods of all time?")
food1 = input ("nt1.")
food2 = input ("nt2.")
 
print ("I have made ",food2+food1," for you!")
 
input ("press a key to exit and enjoy your meal :)")
3 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement