online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
Mylist = [ '1. Full Name 2. Middle Name 3. Last Name', '4a. Full Address 5. City Name 6. State Name' ] for k in Mylist: k=k.split("[0-9a-z]+\.") print(k) """ But I want to get the output like this ['1.', 'FullName', '2.', 'MiddleName', '3.', 'LastName'] ['4a.', 'FullAddress', '5.', 'City', 'Name', '6.', 'StateName'] """

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