# This program uses the time module to reference the Unix epoch as a timestamp.

# The time.time() Function
import time
print(time.time())

# The time.sleep() Function
for i in range(3):
    print('Tick')
    time.sleep(1)
    print('Tock')
    time.sleep(1)

time.sleep(5)

for i in range(30):  # 30 second timer that can be CTRL-C'd from within IDLE
    time.sleep(1)

# This program uses the time module to reference the Unix epoch as a timestamp.

# The time.time() Function
import time
print(time.time())

# The time.sleep() Function
for i in range(3):
    print('Tick')
    time.sleep(1)
    print('Tock')
    time.sleep(1)

time.sleep(5)

for i in range(30):  # 30 second timer that can be CTRL-C'd from within IDLE
    time.sleep(1)

# Rounding Numbers
now = time.time()
print(now)
print(round(now, 2))
print(round(now, 4))
print(round(now))

Update P01_timeModule added rounding numbers