Python Forum
How to create a question generator?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a question generator?
#10
A simple if statement should do it
counter = 0
if str(n1 + n2) == x:
    counter = counter + 1 # or 'counter += 1'
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


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 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 wavic - Oct-12-2017, 11:16 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020