62,015 views
45 votes
45 votes
What is the data type of the following expression?

5/1

a) bool

b) str

c) float

d) int

User Majoris
by
2.9k points

2 Answers

7 votes
7 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 Katspaugh
by
2.5k points
22 votes
22 votes

Answer:

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

User ImClarky
by
2.7k points