Clarky wrote:
SkeletonWarrior wrote:
DEADMONSTOR wrote:
SkeletonWarrior wrote:
with my BTEC Python knowladge I saved the day!
while True:
num1 = input("Enter first number - ")
if num1.lower() == "quit":
q = True
break
num2 = input("Enter second number - ")
result = int(num1) + int(num2)
print("Result is "+str(result))
while True:
question= input("Where are you? ")
if question.lower() == "rome":
print("When in Rome do what the Romans do")
break
Warning, q is defined but not used
fuck I left it in there lmao, I thought I deleted it
Look we know you had to CTRL + C and CTRL + V, don't try make yourself seem smart
Yo Mr. Cyber bully, I actually wrote it myself but I realised I need to end the loop after the first input but if I just set q to true it will run through it once. So GTFO