100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
College aantekeningen

Algebra 2

Beoordeling
-
Verkocht
-
Pagina's
5
Geüpload op
09-01-2026
Geschreven in
2025/2026

Notes on algebra 2 with examples

Instelling
Sophomore / 10th Grade
Vak
Math









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Sophomore / 10th grade
Vak
Math
School jaar
2

Documentinformatie

Geüpload op
9 januari 2026
Aantal pagina's
5
Geschreven in
2025/2026
Type
College aantekeningen
Docent(en)
Oli
Bevat
Alle colleges

Voorbeeld van de inhoud

I. Conditionals (if/elif/else)

Concept Syntax Key Rule
Example

Basic if if: Code runs ONLY if the condition is True.

if/elif/else if c1: ... elif c2: Only ONE branch executes. The program executes the
... else: ... code block for the FIRST condition that is True, then
immediately skips the rest of the block.

Precedence if x > 1: ... elif Order Matters! If x=5, the x > 1 branch is executed, and
x > 3: ... the x > 3 branch is ignored because the first condition was
met.



II. Loops
A. While Loops

Concept Syntax Example Key Rules

Basic while condition: Executes as long as the condition
while remains True.

Loop Requires a variable to be initialized
Control before the loop. This variable must be
updated inside the loop to eventually
make the condition False.

Infinite while True: This loop runs forever unless
Loop stopped by a break statement or a
return statement (which exits the
whole function).

B. For Loops

Concept Syntax Example Key Rules

, Iteration for char in "Missouri": Executes once for each element (character)
over String in the sequence. Variable char automatically
takes on the value of the next element.


range() range(start, stop, step) Generates a sequence of numbers.
Function

range() 1. stop is Exclusive: Counting
Rules goes up to but NOT including
the stop value.


2. Defaults: If omitted, start
defaults to 0, and step defaults
to 1.



range() Call Output Sequence (What's Printed)

range(5) 0, 1, 2, 3, 4

range(1, 20, 5) 1, 6, 11, 16

range(0, 12*n + 1, n) 0, n, 2n, ..., 12n



III. Strings and Input

Concept Syntax / Example Key Rule

Input Type user_input = The input() function ALWAYS returns data as the
input('Enter:') string type, regardless of what the user types. You
must use int() or float() to convert it for math.


Indexing "Missouri"[0] -> 'M' Characters are accessed by their index, starting at 0.
$33.89
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten

Maak kennis met de verkoper
Seller avatar
Candy2590

Maak kennis met de verkoper

Seller avatar
Candy2590
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
Nieuw op Stuvia
Lid sinds
1 dag
Aantal volgers
0
Documenten
1
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen