<filename>lab7.py
"""
lab 7
"""
#3.1
#i = 0

#while i < 6:
#    if i !=3:
#        print(i)
#    i = i + 1
    

    
#3.2
#i = 1
#result = 1

#while i <= 5:
#    result = result * i
#    i = i + 1
    
#print(result)
    
 
    
#3.3
#i = 1
#result = 0

#while i <= 5:
#    result = result + i
#    i = i + 1
#print(result)



#3.4

#i = 3
#result = 1

#while i <= 8:
#    result = result * i
#    i = i + 1
    
#print(result)



#3.5
#i = 1
#numerator = 1

#while i <= 8:
#    numerator = numerator * i
#    i = i + 1


#i = 1
#denominator = 1

#while i <= 3:
#    denominator = denominator * i
#    i = i + 1
    
    
#print(numerator / denominator)



#3.6
num_list = [12, 32, 43, 35]

while num_list:
    num_list.remove(num_list[0])

print(num_list)
<filename>lab7.py
"""
lab 7
"""
#3.1
#i = 0

#while i < 6:
#    if i !=3:
#        print(i)
#    i = i + 1
    

    
#3.2
#i = 1
#result = 1

#while i <= 5:
#    result = result * i
#    i = i + 1
    
#print(result)
    
 
    
#3.3
#i = 1
#result = 0

#while i <= 5:
#    result = result + i
#    i = i + 1
#print(result)



#3.4

#i = 3
#result = 1

#while i <= 8:
#    result = result * i
#    i = i + 1
    
#print(result)



#3.5
#i = 1
#numerator = 1

#while i <= 8:
#    numerator = numerator * i
#    i = i + 1


#i = 1
#denominator = 1

#while i <= 3:
#    denominator = denominator * i
#    i = i + 1
    
    
#print(numerator / denominator)



#3.6
num_list = [12, 32, 43, 35]

while num_list:
    num_list.remove(num_list[0])

print(num_list)
lab 7 #3.1 #i = 0 #while i < 6: #    if i !=3: #        print(i) #    i = i + 1 #3.2 #i = 1 #result = 1 #while i <= 5: #    result = result * i #    i = i + 1 #print(result) #3.3 #i = 1 #result = 0 #while i <= 5: #    result = result + i #    i = i + 1 #print(result) #3.4 #i = 3 #result = 1 #while i <= 8: #    result = result * i #    i = i + 1 #print(result) #3.5 #i = 1 #numerator = 1 #while i <= 8: #    numerator = numerator * i #    i = i + 1 #i = 1 #denominator = 1 #while i <= 3: #    denominator = denominator * i #    i = i + 1 #print(numerator / denominator) #3.6