-2

I am trying to create a function with Python that accepts an integer as input, representing a number of hours. It should return a tuple of that number converted to minutes (* 60), and then that number converted to seconds. Below is my current code, but I am not sure what I am doing wrong. Any help would be appreciated.

def convert_nums(num):
  x = int(num) * 3600
  y = int(num) * 60
  return x,y

print convert_nums
Avery9115
  • 135
  • 2
  • 13

1 Answers1

0

You need to pass your argument with your print.

Daniel Smith
  • 1,044
  • 10
  • 16