Homework:
Create a list of numbers and print every multiple of 3. Then, subtract 2 from every element and print every multiple of 3 from the changed list.
Use list comprehension to create a list of the square roots of every number from 0 to 10. Hint: square root = exponent of ½, so (9)**(1 / 2) = 3.
Create a coordinate plane using nested lists. It should look like this:

There is a tab between each element of each row.
Resources: Class slides: https://docs.google.com/presentation/d/1KZJiuDgLTRXbCrBTl7MoxMNUduLGNOvJqYCEviVlxMc/edit#slide=id.g13233bed446_0_1244 Class code: https://replit.com/@ShravyaS/IntroToPython-Class6#main.py Contact Info: shravyassathish@gmail.com (mentor) kingericwu@gmail.com (TA) felixguo41@gmail.com (TA)
Prompt 1:
my_list = list(range(20))
#print(my_list)
#print multiple of 3
for i in range(len(my_list)):
if(my_list[i] % 3 == 0):
print(my_list[i])
#change the list
for i in range(len(my_list)):
my_list[i] = my_list[i] -2
#print(my_list)
#print multiple of 3 a
for i in range(len(my_list)):
if(my_list[i] % 3 == 0):
print(my_list[i])
Prompt 2:
my_list = list(range(11))
print(my_list)
newlist = [x**(1/2) for x in my_list]
print(newlist)
x**(1/2)
Prompt 3:
for i in range(3):
# Append an empty sublist inside the list
for j in range(3):
my_list = [i, j]
print(my_list, end='\t')
print('\n')