3 Posted Topics
It's always fun to make a battle game, such as one similar to the popular game Pokémon. Start of by asking the basics. Then do random numbers for different enemies. I will later post an example.
Hello there DANIWEB! Now I know that there are already many different discussions asking for python ideas for beginners, but I thought maybe this could be a discussion for all different abilities. For example, if I wanted to reply with a Beginner idea, I would type: **BEGINNER** And the same …
passes=0 failures=0 student=0 while student<=9: passorfail=input("Did the student pass or fail? 1 for pass, 2 for fail.") if passorfail==1: passes=passes+1 student=student+1 elif passorfail==2: failures=failures+1 student=student+1 print"Number of passes",passes print"Number of fails:",failures print"Number of students checked",student if passes >= 8: print("Raise tuition") This should work, it did on my Raspberry Pi... …
The End.