Professional Documents
Culture Documents
Notes
Notes
# ASSIGNMENT
else :
print("prime")
A=(int(input("solution :")))
if A % 2 ==0 :
print ("It is a even number")
else :
print (" it is an odd number")
output :22
66
44
the roots are: -1.0 -2.0
A=[10,35,56,7]
A.sort ()
print(A)
print("largest number is : ",A[3])
print("smallest number is: ",A[0])