Daniel J Kramer wrote: > Hi > > I have just joined this list. I need some help working on a Python > application I am working on. I am working on a quiz game where the > users gain points when the answer questions correctly. I have written > the skeleton of the quiz with If, Elif and Else statements. it runs > perfectly. > > I am very unclear on how to score points at the end of each round and > how to import images. > > Can anyone help out here or have any ideas on the best way to execute > this? I have included a copy of the quiz so you can get an idea of what > I am trying to do > > thank you so much and I look forward to hearing from you soon > > -- > Daniel J Kramer > Constant Fables > 249 12th st #3 > Brooklyn, NY 11215 > (h) 347 223 4571 > (m) 646 427 7430 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor I am new also, but something like;
score = 0 # check answer if answer == correct: print "\nRight!", score += 1 else: print "\nWrong.", print "Score:", score, "\n\n" -- Powered by Gentoo GNU/LINUX http://www.linuxcrazy.com _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor