1
1
Fork 0

updated repository with strict typechecking
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 11s

This commit is contained in:
SeaswimmerTheFsh 2024-05-08 12:43:05 -04:00
parent 14c41cfd45
commit 68569900e0
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F
5 changed files with 30 additions and 24 deletions

View file

@ -1,5 +1,6 @@
from time import \
sleep # the sleep function adds a delay, allowing time to tick down by a second rather than instantly
from time import (
sleep, # the sleep function adds a delay, allowing time to tick down by a second rather than instantly
)
def countdown(n: int) -> None:
@ -25,5 +26,5 @@ def count(n: int) -> None: #this part of the code checks to see if a numb
countup(n) #If negative, we'll utilize the countup function
if __name__ == "__main__":
num = input("Enter a number: ")
num: str = input("Enter a number: ")
count(int(num))