Skip to main content
2 of 3
added 65 characters in body
n1k9
  • 81
  • 6

Python 3, 22 18 bytes

lambda n:(n+8)//10

Must casting result to integer, otherwise obtain floating point result

Thanks to @JoKing for sagest to use integer division.

n1k9
  • 81
  • 6