Computer Science, asked by utkarshyadav861, 7 months ago

2. Anant has written following expressions in Python 2.7 :
a = - 4% 1.5
b = -4// 1.5
C = 4.0/5
d = 4/5
(a) Find out the values stored by a, b, c and d. (b) What are the datatypes of a, b, c and d?
(c) Why are the values of c and d not the same.​

Answers

Answered by vanivinnakota12
1

Answer:

a) values stored by a is -0.06

by b is -1.778

by c is 8.0

by d is 8

b) integer data type

string data type

character data type

float data type

c) the values of c and are not the same because in the float data type the decimal values are not considered.

please mark it as brainliest....

Similar questions