hour = 1 minute = 2 second = 3 currentTime = hour, minute, second # create tuple print "The value of currentTime is:", currentTime print "The number of seconds since midnight is", \ ( currentTime[ 0 ] * 3600 + currentTime[ 1 ] * 60 + currentTime[ 2 ] )