A simple if statement should do it
counter = 0 if str(n1 + n2) == x: counter = counter + 1 # or 'counter += 1'
How to create a question generator?
|
|
Messages In This Thread |
How to create a question generator? - by student8 - Oct-07-2017, 07:22 PM
RE: How to create a question generator? - by j.crater - Oct-09-2017, 05:52 AM
RE: How to create a question generator? - by gruntfutuk - Oct-10-2017, 09:05 PM
RE: How to create a question generator? - by sparkz_alot - Oct-10-2017, 09:12 PM
RE: How to create a question generator? - by student8 - Oct-11-2017, 10:30 PM
RE: How to create a question generator? - by wavic - Oct-09-2017, 09:03 AM
RE: How to create a question generator? - by wavic - Oct-10-2017, 09:20 PM
RE: How to create a question generator? - by j.crater - Oct-12-2017, 09:06 AM
RE: How to create a question generator? - by student8 - Oct-12-2017, 10:53 PM
RE: How to create a question generator? - by wavic - Oct-12-2017, 11:16 PM
|