Vocabulary
What's the Output?
Your not my type
For Loops
While Loops
100

We can use this code to print horizontally instead of printing vertically

end

100

file:///C:/Users/rnoppinger/Pictures/Capture.PNG

3

100

Print the float portion of the number 35.

print(float(35))

100

We use this function in a for loop to repeat a loop for a number of times

range()

100

A while loop repeats commands a specific number of times

Fasle

200

We should use this when coding an atm.

While Loop

200

file:///C:/Users/rnoppinger/Pictures/Capture1.PNG

hi hello

hi hello

hi hello

200

What is the type of the variable x?

x= "10"

String

200

By default we always increment by this number in a for loop.

1

200

Write the shortcut for increasing the variable x by 1

x += 1

300

During a while loop if you want  to stop your code you could use this word

Break

300

file:///C:/Users/rnoppinger/Pictures/Capture4.PNG

0

5

10

15

25

300

We use a for loop to print this type of variable

list

300

file:///C:/Users/rnoppinger/Pictures/Capture6.PNG

Have to change 1 to 0

300

file:///C:/Users/rnoppinger/Pictures/Capture5.PNG

Total should equal one

400

A while loop checks this at the end of each run through

Condition

400

file:///C:/Users/rnoppinger/Pictures/Capture2.PNG

Infinite Loop

400

These 3 rules are applied to what type of variable:

Any string is True, except empty strings.

Any number is True, except 0.

Any list, tuple, set, and dictionary are True, except empty ones.

bool or Boolean
400

To skip printing a specific item you can use this word.

Continue

400

i = 0;

while i < 4:

 if (i == 1) :

   print("Speak to me \n")

 elif (i == 2):

   print("Breathe\n")

 elif (i == 3) :

   print("On the run\n")

 else :

   print("Time\n"

0 never increases

500

Using this code will occur when the for loop is finished.

Else

500

file:///C:/Users/rnoppinger/Pictures/Capture3.PNG

Nothing

500

It is always safe to go from a smaller data type to a larger one. This is called...

Upcasting

500

For loops can do this. Unlike a while loop that needs to do it in 3.

Combine Lines

500

for i in range(100,500):

   if i%13==0 and i%5!=0:

      print(i)


Displaying numbers through 100-550 that are divisible by 13 but not 5