Math 8 Flashcards
Subtraction
doesn’t exist says
says teh old dot man
f-strings
strings formatted with the curlies {} to use as place holders
syntax:
‘’’
f”this is a strung with and {Girl}”
‘’’
my wife told me to stop playing flamingo
I had to put my foot down
if else in python
if else blocks always with an if statement you what to chain use elf. every statement uses a colon and need to be indented
‘’’
if conditional
>this is indented
elif conditional
>indent
else conditional
>indented
while loop
use a while loop to repeat sections of code when you aren’t sure how many times you need to repeat an action
syntax:
<code>
while conditional
>need to indent
</code>
Assignment operator
An assignment operator is = because = does no mean assignment operator.
conditional operators
== !=
< <
<= >=
FACTORING ALGEBRAIC EXPRESSIONS
Factorization of algebraic means finding the factors of the given expression which refers to finding two or more expressions whose product is the given expression.
what is the difference between liner and nonlinear patterns
liner patterns grow at a constant rate and when you graph them they form a strait line. nonlinear does not grow at a constant rate
what is the starting point of the pattern
the starting pint is as many objects there are in object one.
<code>break</code>
break is a key word in python lets you break out of a loop. any code written after the break key word will no be executed
how do you find the square root
Funtion Notation//Mathmatics
where you give a name to a function, we give a single letter, followed by parentheses that tell you the variable.
f(x)=2x+1
Function creation
’'’def func_name(params):
“"”thsi is docstring””” ‘’’
Floats and how to make them
floats contain decimals
my_float = 45.6
or
my_float = 70.0 still counts