Skip to main content

Python 3, 22 18 bytes

lambda n:(n+8)//10

Thanks to @JoKing for suggesting to use integer division.

n1k9
  • 81
  • 6