Tasks:
If vnum1 is less than vnum 2 then, print vnum1 is smaller
While count is less than 6 print count is less than 6
For i in range 10 print i
For each letter in “your name” print each letter
Code:

Results:

Pseudocode:
Feeding dog
Obtain box containing dog food
Open box containing dog food
Locate scoop for dog food
Pick up one scoop of dog food
Locate food bowl
Pour dog food into bowl
Flow Chart:

Reflection: We created a flowchart and psuedocode for the real life scenario of feeding a dog. These two methods can help you plan out your code without having to deal with syntax and also while making it easy to comprehend.
Pseudocode for the number game:
Select a random number
Get a guess from the user
While the guess is incorrect
if it’s too high then print “Try lower…”
if it’s too low then print “Try higher…”
While the guess is correct
print “Well done! You got it!”
Flowchart:

Code:

Results:
