156k views
1 vote
What is the data type of the following expression?

5/1

a) bool

b) str

c) float

d) int

User Crooksey
by
4.3k points

2 Answers

5 votes
D Integer

Since 5/1 = 5 that’s no float. Maybe if it was 5/1.0 then it would be 5.0 which is a float. So int is the answer.
User Skbrhmn
by
3.9k points
2 votes

Answer:

What do u mean by 5/1... And Sry for disturbing

User Cvs
by
4.0k points