Show Menu
Cheatography

GG

Addition

string + string
combine together
string + number
crash
number + number
add (math)

Functions

print()
displays inform­­ation on the screen
input()
receives inform­­ation from the user
int()
converts a value to an integer (no decimal, no rounding)
float()
number with decimal
#
comment (not affect script)
 

Vocabulary

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

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
 

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.

          More Cheat Sheets by win1999