online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
import os cls = lambda: os.system('cls' if os.name in ('nt', 'dos') else 'clear') while True: cls() print("\nWybierz program.") print("1.Dodawanie") print("2.Odejmowanie") print("3.Mnożenie") print("4.Dzielenie") choice = input("Wpisz numer: ") cls() if choice not in ['1', '2', '3', '4']: print("Nie ma takiego programu, wybierz jeszcze raz") else: num1 = int(input("Pierwsza liczba: ")) num2 = int(input("Druga liczba: ")) if choice == '1': operator = "+"; calculation = num1 + num2 elif choice == '2': operator = "-"; calculation = num1 - num2 elif choice == '3': operator = "*"; calculation = num1 * num2 elif choice == '4': operator = "/"; calculation = num1 / num2 print(num1, operator, num2, "=", calculation) question = input("Kontynuować? y / n: ") if question.lower() == 'n': print('Zamykam...') exit()

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue