Advertisement

my first program - concatenating in python

Started by December 12, 2016 03:20 AM
4 comments, last by Lactose 7 years, 11 months ago

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 :)")

http://polydina.com

Good Job! Have you considered starting a Development Journal?

Marcus Hansen

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:

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.

http://polydina.com

Thanks I'll try that as well.
Tinkering with programs, and adding new functionality is a great way to get experience.

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 =)

Hello to all my stalkers.

This topic is closed to new replies.

Advertisement