Show Menu
Cheatography

Python Cheat Sheet by

Multip­­li­c­ation and Exponents

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

Addition

string­+string
combine together
string + number
crash
number­+number
math-a­ddition
 

Code

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

Function

print
displays inform­ation on a screen
input
receives inform­ation from the user
int
convert an value to an integer
 

Vocabulary

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

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.