online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
import random elements = ['A', 'A7', 'A777', '14', 'F', '1', '277', 'H17', '912'] count = 5 output = '' prevRandom = -1 for x in range(0, count): while True: rndm = random.randint(0,len(elements)-1) if (rndm != prevRandom): prevRandom = rndm break # print(elements[rndm]) output += elements[rndm] + ',' print(output[:-1])

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