Sign in to follow this  

my first program - concatenating in python

Recommended Posts

I wrote my first program 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 ("\n\t1.")
food2 = input ("\n\t2.")
print ("I have made ",food2+food1," for you!")
input ("press a key to exit and enjoy your meal :)")

Share this post

Link to post
Share on other sites

Good Job! Have you considered starting a Development Journal?


Marcus Hansen

I have actually I use a section of my blog to write about my development as a programmer.


it says I've already written 3 programs - that's because this is the 2nd time I've attempted learning python and the first time I only got as far as writing 3 programs. I'm going to stick with it and see it through this time, though.


Just realised that you probably meant a developer journal here on - interesting idea. I'll have to think about it.




 letting a guy with a name to put some more food on a table, and then that guy can choose one of them to eat first? 

Thanks I'll try that as well.

Edited by WinterDragon

Share this post

Link to post
Share on other sites

Congratulations on your first program :)


This forum isn't really meant for this -- it's for asking (technical) questions.

I would echo markypooch's suggestion about starting a GameDev Journal.


You can create & manager your own journal here:

... and you can view other journals here:


Good luck =)

Edited by Lactose

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this