Timeline for Shortest Floor Function
Current License: CC BY-SA 2.5
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 26, 2015 at 5:03 | comment | added | Daniel |
You can go down to 76 bytes by removing unnecessary spaces! def f(x):return str(x-float("."+str(float(x)).split('.')[-1])).split('.')[0]
|
|
Feb 4, 2011 at 1:28 | history | answered | l0nwlf | CC BY-SA 2.5 |