👤

Based on what you have learned about Numbers and Floating-point in Python. Identify the numerical data type (integer or float) that would best fit the situation:
● ‘Number of students in a class’
● Money saved from unspent allowance
● Weight of tomatoes in kilograms
● Number of chairs sold by a store
● Distance traveled in kilometers


Sagot :

Answer:

● ‘Number of students in a class’

Answer: integer

● Money saved from unspent allowance

Answer: float

● Weight of tomatoes in kilograms

Answer: float

● Number of chairs sold by a store

Answer: integer

● Distance traveled in kilometers

Answer: integer

Explanation:

sana po makatulong