Jump to content
  • Advertisement
Sign in to follow this  
WinterDragon

my first program - concatenating in python

This topic is 584 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement

Grats on your first program! How about 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? :wink:

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.

www.livethinkbreathe.co.nz

 

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 gamedev.net - 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: http://www.gamedev.net/index.php?app=blog&module=manage

... and you can view other journals here: http://www.gamedev.net/blogs

 

Good luck =)

Edited by Lactose

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!