MUIDSTIM Cheat Sheet

A cheat sheet in English by non32849

MUIDSTIM

2,541 views 865 downloads 15 Feb 2016 History
3.7 avg · 0 ratings

Vocabulary

Syntax
The structure of a program.
Script
A program stored in a file (usually one that will be interp­reted).
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 *
combine that string
number
multiple times
string * string
crash
number * number
math - multiply
string ** string
crash
number ** number
math - exponents
string ** number
crash

Functions

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

Code

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

Math Operations

==
equal to
!=
not equal to
+
plus
-
minus
*
times
/
divide
%
the remainder from divide numbers
**
power
<
less than
>
more than
<=
less than or equal to
>=
more than or equal to

Addition

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

Badges

Nice Cheat Sheet

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.