This Question has been **Answered**

Featured Replies

- 1
[QUOTE=RMartins;537916]but how can i prove for example that the result of sqrt(n) is an integer?[/QUOTE] You can do this (maybe is there more elegant way) [CODE] if math.sqrt(n) == float(int(math.sqrt(n))): print "sqrt(n) is an integer" [/CODE] Read More

This question has already been answered. Start a new discussion instead.

Recommended Topics