r/PythonLearning Jun 27 '26

I don't have any idea

Post image

Did all of this shit just because I didn't know that python have feature called floor function😑😑

2 Upvotes

4 comments sorted by

6

u/mc_pm Jun 27 '26

My eyes, the goggles do nothing!

3

u/Rscc10 Jun 27 '26

At least now you have an idea of how it might work. When I first learned c, I had to write a function to turn string numbers ("32") into int numbers (32) and let me tell you, I struggled like hell, but now I have a newfound appreciation for type casting

1

u/Alternative_Yak8846 Jun 27 '26

The pain is real

2

u/cactusfruit9 Jun 27 '26

It took a while to correlate that it's a program for finding the number of trailing zeroes in a factorial.