I have to write a python program that get a keyboad number and verfiy using the def function. Help
n = int(input("Write a number")
def countdown(n):
if n >= 0:
print('Blast off! Zero down')
else:
print(n)
countup(n+1)
countdown(3)
GGomez 0 Gabino
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.