python - When Irun this nothing happens. Am I missing something? -


def numbers(num1,num2):     num1 = int(input("enter number: "))     num2 = int(input("enter number: "))     return num1,num2  def display():     print("the numbers chose are",num1,"and",num2)  def count():     x in range(1,11):         print (x) 

you need call function.

def numbers(num1,num2):     num1 = int(input("enter number: "))     num2 = int(input("enter number: "))     return num1,num2  def display():     print("the numbers chose are",num1,"and",num2)  def count():     x in range(1,11):         print (x)  count() 

Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -