hour = 1minute = 2second = 3currentTime = hour, minute, second # create tupleprint "The value of currentTime is:", currentTimeprint "The number of seconds since midnight is", ( currentTime[ 0 ] * 3600 + currentTime[ 1 ] * 60 + currentTime[ 2 ] )
Name (required)
email (will not be published) (required)
Website