mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-04 13:48:11 +08:00
allow Null results - added test
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
import time
|
||||
|
||||
# simple countdown
|
||||
# simple countdown, returns nothing
|
||||
def countdown(n):
|
||||
start_time = time.time()
|
||||
while n > 0:
|
||||
n -= 1
|
||||
stop_time = time.time()
|
||||
return stop_time - start_time
|
||||
|
||||
|
||||
def count_letters(tup):
|
||||
total = 0
|
||||
|
||||
Reference in New Issue
Block a user