Show Menu

my python cheat sheet Cheat Sheet by

Addition

string + string
combine together
string + number
crash
number + number
math - addition

Functions

print()
displays inform­­ation on the screen
input()
receives inform­­ation from the user
int()
converts a value to an integer
float()
number with decimal
 

Vocabulary

variable
holds a value and can be changed
string
a list of characters such as numbers, letters, symbols

code

print (name.u­pp­er())
print (name.l­ow­er())
print (name.c­ap­ita­lize())
print (name.t­it­le())
 

Multip­­li­c­ation and Exponents

string * number
combine that string multiple times
string * string
crash
number * number
math - multiply
string ** string
crash
number ** number
math - exponents
string ** number
crash

Download the my python cheat sheet Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/kim555555_my-python-cheat-sheet.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.