online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
numbers = [ 1, 2, 3, 4, 4, 4, 5, 6, 7, 8, 8, 9, 9, 0, 2, 9, 9 ] # Tworzymy pustą listę na wynik. result = [] # Iterujemy przez liczby w tablicy. for num in numbers: # Sprawdzamy, czy liczba występuje więcej niż 2 razy. if numbers.count(num) > 2 and num not in result: result.append(num) print(result)

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