online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
''' Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl, C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. ''' colours = ("Red", "Orange", "Yellow", "Blue", "Purple") input=int(input("What Element would you like to print? (Number): ")) if input == 0: print(colours[0]) elif input==1: print (colours[1]) elif input==2: print (colours[2]) elif input==3: print (colours[3]) elif input==4: print (colours[4]) else: print ("Sorry, error.")

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



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