Show Menu
Cheatography

my python cheat sheet muids Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Functions

print()
displays info on the screen

code example

while
     print
 

looop

mystr = "hello123" # a string is just a list of characters

numbers = [1,2,3,4,5,6]
print (numbers)

largelist = range(100)

for num in largelist:
    print(num)