Homework:
Write a while loop that prints all numbers from 1 to 50 except multiples of 4.
Write nested for loops to represent a “subtraction table” with 10 rows and 10 columns. Ex: first entry is 1 - 1 = 0, entry to the right is 2 - 1 = 1, so on so forth. (Like a multiplication table.)
Resources:
Slides: https://docs.google.com/presentation/d/1BcN5TWLdabkdXMF6rVLxVvfBhRZNo5FZBm7CUdw0yL4/edit?usp=sharing
Code: https://replit.com/join/qjpzhxpkuc-shrav816
Contact:
shravyassathish@gmail.com (mentor)
mailtoarnavpandey@gmail.com (TA)
Make sure to "Add a comment" with your code to the homework in order to submit your homework assignment!
Recordings for the class have been sent out through email :)
Computer = 0
while Computer < 50:
Computer += 1
if Computer % 4 == 0:
continue
print(Computer)