Chalarangelo / 30-seconds-of-python

Short Python code snippets for all your development needs
https://www.30secondsofcode.org/python/p/1
Creative Commons Attribution 4.0 International
8.83k stars 1.26k forks source link

reverse_number Wrong output #442

Closed jumploop closed 3 years ago

jumploop commented 3 years ago

image The output should be of float type image

Chalarangelo commented 3 years ago

This isn't a bug, we just trim the decimals in the output.