regulator czasowy
get back to working and dont procrastinate
Lazy Leopard
get back to working and dont procrastinate
It's the most important thing, use it wisely <3
import time
def converter(hours, minutes, seconds):
return hours * 3600 + minutes * 60 + seconds
time.sleep(converter(hrs, mins, secs))
print("time's up")
import time
length = int(input('How many seconds: '))
time.sleep(length)
print('Time is up')
action script
DEZ NUTS
Rubik's cube:
First place: 4m 26s 08
const oldDate = Date.parse("4/10/2020, 12:00:00");
const timeBetweenDates = (date1, date2) => {
const date = new Date(date1 - date2);
return {
years: date.getYear() - 70,
months: date.getMonth(),
days: date.getDay(),
hours: date.getHours(),
minutes: date.getMinutes(),
seconds: date.getSeconds(),
}
}
const pre = document.getElementById("display");
setInterval(() => {
pre.textContent = JSON.stringify(timeBetweenDates(Date.now(), oldDate), 0, 2);
}, 1000);
TIME
# Python code to make timer
from time import sleep
delay = input("How long do you want to set the timer for? ")
sleep(delay)
print("Times Up!")