Int, string, function, and list as list element : List Element : List PYTHON examples


PYTHON examples » List » List Element »

 

Int, string, function, and list as list element


Int, string, function, and list as list element



foo = [42'www.navioo.com', lambda x: x**2[47'11']]

print foo


print foo[3]


print foo[2](3)

foo[3][099
print foo


for i in foo:
     print i, "--", type(i)


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo List
» List Element


Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0