http://www.python.org/
Go there, download python, run this.
N = raw_input("What is your name? ")
o = input("First integer?")
t = input("Second integer?")
print "thank you,",N,"the sum of",o,"and",t,"is:",o+t
The output should be something like this:
What is your name? Scout
First integer? 3
Second integer? 4
Thank you, Scout the sum of 3 and 4 is: 7
I just wrote that in the class I am currently posting from.
I finished first! It rocked!
It was funny cause I'm in a class with all upperclassmen and they were asking me for help.
Subscribe to:
Post Comments (Atom)
8 comments:
I have Python on my computer, for a gaming source program (some online rpg scripting program I think). I just am not using my machine at the moment since it is being stowed at Josh's place while I am over here at the folks.
Well use it!
boobies :)
boobies!!!!!!!!!!!!!!
:) Hey, sorry I couldn't call last night...wound up hanging out with my brother and ran a little long, so I will try and catch up with you tonight :)
It's okay. I'll call you tonight?
Should be no problems... I don't forsee going anywhere this time.
Ok, this comment is to remind you to check out my Nerdiness Survey/Interview :)
Post a Comment