Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Things I learned in python so far:
- import module as name
- rjust(i)
- print('x', end = 'z')
- type(i)
- input() #empty
- def functionName():
- import time
- time.sleep()
- import random
- random.randint(i,x)
- import sys
- sys.exit([arg])
- abs( x )
- #strings
- import string
- string.ascii_letters
- string.ascii_lowercase
- string.ascii_uppercase
- string.digits
- string.hexdigits
- string.ocatadigits
- spam = '1 2 3 4 5 6 7 8 9 0'.split()
- spam >> ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0']
- str.split(sep=None, maxsplit=-1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement