Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # list_from_nested_string.py
- import re
- z=99
- x='''[['xyz',500,z],[123 ,"B","C!!!","You And I Are Awesome!","$D$ "]]'''
- x=eval(x)
- print x
- print x[1][3]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement