0

What changes are required to make the float output into integer?

7/4=1.75 I only want to print 1

13th Jan 2019, 7:35 AM
Utsav Akash Naskar
Utsav Akash Naskar - avatar
1 Resposta
+ 3
Sounds like what you're looking for is called floor division. In Python it's invoked using the syntax X//Y
13th Jan 2019, 8:24 AM
Robert Carsten
Robert Carsten - avatar