xxxxxxxxxx
password=123456
int(input("what is your password"))
if password==123456:
print("the tresuare is yours")
else:
print("wrong please try again")
xxxxxxxxxx
#1
https://www.onlinegdb.com/online_python_compiler
#2
https://repl.it/languages/python3
xxxxxxxxxx
Online Python Compiler (Interpreter)
https://www.programiz.com/python-programming/online-compiler/
import time
num = 0
def time(num):
time.sleep(3)
num += 1
return num
while True:
user_input = input("\n")
if user_input == "what time is it":
num = time(num)
print(num)
else:
break
Python