#Exercise 16.1. Write a function called print_time that takes a Time object and prints it in the form hour:minute:second . Hint: the format sequence '%.2d' prints an integer using at least two digits, including a leading zero if necessary.
class time:
  hour=0
  minut=0
  second=0

def print_time(t):
  print('The time is %2d:%2d:%2d' %(t.hour,t.minut,t.second))

def main():
  t=time()
  t.hour=5
  t.minut=25
  t.second=23
  print_time(t)

if __name__=='__main__':
	main()

57174e710e1cd8d871ce605f4dd7bf5d8f8a21d8
class time:
    <mask token>
    <mask token>
    <mask token>


<mask token>

class time:
    hour = 0
    minut = 0
    second = 0


<mask token>

class time:
    hour = 0
    minut = 0
    second = 0


<mask token>


def main():
    t = time()
    t.hour = 5
    t.minut = 25
    t.second = 23
    print_time(t)


<mask token>

class time:
    hour = 0
    minut = 0
    second = 0


def print_time(t):
    print('The time is %2d:%2d:%2d' % (t.hour, t.minut, t.second))


def main():
    t = time()
    t.hour = 5
    t.minut = 25
    t.second = 23
    print_time(t)


<mask token>

#Exercise 16.1. Write a function called print_time that takes a Time object and prints it in the form hour:minute:second . Hint: the format sequence '%.2d' prints an integer using at least two digits, including a leading zero if necessary.
class time:
  hour=0
  minut=0
  second=0

def print_time(t):
  print('The time is %2d:%2d:%2d' %(t.hour,t.minut,t.second))

def main():
  t=time()
  t.hour=5
  t.minut=25
  t.second=23
  print_time(t)

if __name__=='__main__':
	main()
