online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
def numberOfDayOfWeek(day): daysweekEN = ("monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday") for dayName in daysweekEN: if dayName == day: return daysweekEN.index(dayName) day = "wednesday" print(f"{day} is the {(numberOfDayOfWeek(day) + 1)} day of the week.") day = "friday" print(f"{day} is the {(numberOfDayOfWeek(day) + 1)} day of the week.")

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