|
string + string
|
combine together
|
|
string + number
|
crash
|
|
number + number
|
math - addition
|
|
print()
|
displays information on the screen
|
|
input()
|
receives information from the user
|
|
int()
|
converts a value to an integer
|
|
variable
|
holds a value and can be changed
|
|
string
|
a list of characters such as numbers, letters, symbols
|
print (name.upper())
print (name.lower())
print (name.capitalize())
print (name.title())
|
string * number
|
combine that string multiple times
|
|
string * string
|
crash
|
|
number * number
|
math - multiply
|
|
string ** string
|
crash
|
|
number ** number
|
math - exponents
|
|
string ** number
|
crash
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.