The answer is right but i know I'm wrong


Hi guys, so i got through to the next round and I'm clearly wrong somehow since when i put in the number all i get is the same number. In example is you press 9... your going to get 9 nil instead of it being squared.

def square(n)
print n


Squaring a number means you multiply it by 2, not itself. :stuck_out_tongue:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.