10 minute timer
import time
def timer(min):
for x in range(min*60 + 1):
time.sleep(1)
print(x)
10 minute timer
import time
def timer(min):
for x in range(min*60 + 1):
time.sleep(1)
print(x)
10 min timer
-- Language: Lua
local number = 1
while number <= 600 do
if number == 600 then
print("TIMER FINISHED")
print("TIMER FINISHED")
print("TIMER FINISHED")
else
print(number)
number = number + 1
end
wait(1)
end
10 minute timer
using System;
using System.Threading;
static void Main(string[] args)
{
Console.WriteLine("Please type \"start\" and press ENTER");
while (true)
{
var userInput = Console.ReadLine();
if (userInput.Equals("start"))
{
break;
}
Console.WriteLine("Not correct, please try again");
}
var minutes = 10;
Console.WriteLine("Going to sleep for " + minutes + " Minutes...");
Thread.Sleep(1000 * minutes * 60);
Console.WriteLine("Done...");
Console.ReadLine();
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us