sumit_python-set-3 (2)
sumit_python-set-3 (2)
Practical – 3.1
print(360+Degree)
else: print(Degree)
Practical -3.2
Practical - 3.3
Practical -3.4
#Write a program that prints out the sine and cosine of the
angles ranging from 0 to 345b&
#in 15 increments. Each result should be rounded to 4
decimal places. Sample output is shown #below:
Practical - 3.5
(4+C-(C/4))%7 a = Y %4 b = Y %7 c = Y %19 d =
(19*c +m)%30 e = (2*a + 4*b + 6*d + n)%7
Practical – 3.6
x = 1.27
(y, z) = divmod (x, 0.50)
(p, q) = divmod (z, 0.25) (a,
b) = divmod (q, 0.01)