online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
def test(value): match value: case value if value in (1, 2): print(f"It's a tuple (1, 2) with elements {value}.") case value if value in [3, 4]: print(f"It's a list [3, 4] with elements {value}.") case _: print("Non-match") test(2) test(3)

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