Assignment Module 2
Assignment Module 2
A. a/=b
B. c*=5
## Que.1 (A) ##
x = 12345
y = 543
z = 399
equation = 22*y + z
if equation == x:
## Que.1 (B)
#“When I divide 5 with 3, I got 1. But when I divide -5 with 3, I got -2”—How would you justify it.
a=5
b=3
a/b
a//b
a = -5
b=3
a/b
a//b
## Que. 2 ##
a=5
b=3
c = 10
a/=b
print(a)
c*=5
print(c)
## Que. 3 ##
#A. How to check the presence of an alphabet ‘s’ in word “Data Science” .
a=4
b=3
a**b