|
|
|
#1 (permalink) | |||||||||||||
|
RAM Fan
|
okay i agreed to do this hott chicks homework for some college class and im screwed! she expects me to do her whole final which is making some lame math program for elementary kids, which what i have done so far no kid in 3rd grade is gonna be able to do lol. anyways, i have the first thirty questions done, now if the "kid" gets 22 or more questions right he gets the message "you pass great job!" else he gets "YOU FAIL!" now i want the program to continue onto the next level if the pass. how do i go about doing it?
the end code: if answersright >=22: print "Great you pass!" else: print "you fail! please try again!" can i just continue on? or do i have to make a var. and then test the variable to see if they go on? and if they fail how do i restart the program to line 1? i will gladly +rep to anyone that has an idea on how to do this, i accepted this task from this uber hott chick without even knowing python and now i have like a jumble of 500 lines of code but if i can make it work i shall be rewarded as she says ![]()
|
|||||||||||||
|
|
|
|
#2 (permalink) | ||||||||||||
|
4.0ghz
|
Sounds like you are being used pretty bad. Tell her to do it herself...
Sorry I cant help more. But I think the advice I just gave is the best for you to consider.
__________________
eVGA 680i Overclocking guide .......... ASUS P5E/Maximus Thread ............... 4.0GHz CPU-Z
|
||||||||||||
|
|
|
|
#3 (permalink) | |||||||||||||
|
Intel Overclocker
Join Date: Feb 2007
Location: Lloydminster, AB
Posts: 1,238
Rep: 124
![]() ![]() Unique Rep: 106
Trader Rating: 0
|
nice.....
![]() BTW, i hope this test involves some multi-variable calculus, just to make the kids feel like *******
__________________
The world rotates to the ultra heavy beat! Xfire | My OCN Wallpaper :] | CAD Renders | Geometry Wars Thread | Gallery
|
|||||||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||||
|
RAM Fan
|
well her thing is due thursday and im about half done with it, this was a great learning exercise. i guess ill just throw it together and hand it to her
|
|||||||||||||
|
|
|
|
#5 (permalink) | |||||||||||
|
*cough* Stock *cough*
|
I bet you'll be rewarded with a big thank you. Sorry, I can't help. If I were in the situation and actually accepted to do this she would have to waste here time sitting next to you watching you work. There would be no way that I'd do this on my free time, while she is probably having a good time and you're stuck doing her work. She'd have to put some time in at minimum for me to do this. That way you'd have a better idea if she is going to put out or not.
__________________
|
|||||||||||
|
|
|
|
#6 (permalink) | |||||||||||||
|
Linux Lobbyist
|
Next time, get ... rewarded ... first.
__________________
For Sale: NEW Unreal Tournament 3 -- NEW Assassin's Creed -- Case Badges I did error10's Windows Challenge and I now am an MCSE: Minesweeper Consultant and Solitaire Expert! ![]()
|
|||||||||||||
|
|
|
|
#7 (permalink) | ||||||||||||
|
Programmer
|
Put the whole thing in "while !pass:"
and then if answersright >=22: print "Great you pass!" pass = true
__________________
Saving the economy, one piece of hardware at a time.
|
||||||||||||
|
|
|
|
|
#8 (permalink) | |||||||||||||
|
Linux Lobbyist
|
pass is a reserved word in Python; you may have to name the variable something else.
__________________
For Sale: NEW Unreal Tournament 3 -- NEW Assassin's Creed -- Case Badges I did error10's Windows Challenge and I now am an MCSE: Minesweeper Consultant and Solitaire Expert! ![]()
|
|||||||||||||
|
|
|
|
#9 (permalink) | |||||||||||||
|
RAM Fan
|
Well i finished it and i got nicely rewarded today
im reminded of the song Gimmie head ho by E-40 when i think back on my "thank you". well it only took me like 2 hours to do her whole thing so it wasnt to much of a waste of time and it got me to learn alot about Python in the process! i think ill continue on practicing it so i can get better.
|
|||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|