84.8k views
1 vote
Write a python program that gets a number using keyboard input. If the number is positive, the program should call countdown

1 Answer

10 votes

Answer:

def countdown():

print("This is countdown")

number = int(input("Enter number: "))

if (number > 0):

countdown()

Step-by-step explanation:

This is literally what you asked, but what is the purpose?

User Sunday Okpokor
by
3.7k points