0

Why is it showing none

force=180 mass=5 def acceleration_calculator(force,mass): acceleration = force/mass print("acceleration=",acceleration) print(acceleration_calculator(force,mas

10th Jun 2020, 5:13 PM
Ajisegiri Sunday
Ajisegiri Sunday - avatar
3 Respuestas
+ 2
Adeniran Becoz to use it with print method it should return something edited :- force=180 mass=5 def acceleration_calculator(force,mass): acceleration = force/mass #print("acceleration=",acceleration) return acceleration print(acceleration_calculator(force,mass)) It prints :- 36
10th Jun 2020, 5:14 PM
Abhay
Abhay - avatar
0
Ohh thanks
10th Jun 2020, 5:19 PM
Ajisegiri Sunday
Ajisegiri Sunday - avatar