Lesson 3.3 video 1 hacks

  • together the steps make a sequence
  • the while loops create iteration by incrementing a variable such as 'x' or 'y'
x = 1
char = "\\"
while x <= 5:
  y = 1
  while y <= x:
    print (char, end= "")
    y += 1
  print ()
  x += 1
\
\\
\\\
\\\\
\\\\\

Lesson 3.3 video 2 hacks

Question Answer
1. a = 1, b = 7, c = 3, d = 7
2. both values are true
3. num1 = 6, num2 = 11

Lesson 3.4 video

Question Answer
1. SmithB@gmail.com
2. ompuook