DEV Community

Discussion on: whats the worst program you can make for squaring a number.

Collapse
 
agtoever profile image
agtoever

Just add 1s and create a new object for a*b times. Python implementation.

Try it online!

Collapse
 
rishitkhandelwal profile image
Rishit Khandelwal

Could be even slower than that. 🤓