Python Forum
Problems with Equality of Numbers
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with Equality of Numbers
#3
For the time limit, you'll need multithreading and set up a race condition. Essentially, you need two threads - one for user input and one for the timer. The timer thread would send a null answer after three seconds once activated. So, the user will have to provide an answer before the timer does.
Reply


Messages In This Thread
Problems with Equality of Numbers - by SheeppOSU - Jan-04-2019, 02:02 AM
RE: Problems with Equality of Numbers - by woooee - Jan-04-2019, 02:50 AM
RE: Problems with Equality of Numbers - by stullis - Jan-04-2019, 03:56 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Checking for equality PythonGainz 8 3,314 Apr-10-2020, 03:00 PM
Last Post: PythonGainz
  Equality in Python el_bueno 8 3,517 Feb-08-2020, 03:33 PM
Last Post: el_bueno
  Print Numbers starting at 1 vertically with separator for output numbers Pleiades 3 3,784 May-09-2019, 12:19 PM
Last Post: Pleiades
  Dictionnaries - Equality SupaFlamme 3 2,773 Jan-13-2019, 04:50 PM
Last Post: perfringo
  Shared reference and equality zyo 3 3,220 Jun-30-2018, 07:10 PM
Last Post: ljmetzger

Forum Jump:

User Panel Messages

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