Login | Register
Nerd ParadiseArtisanal tutorials since 1999
Python Code Golf
Current challenge:
"Determine if a sentence is a palindrome."

Current shortest code:
70 bytes

Current contest ends:
1579996800, F jS, g:i A
Give it a try

Given: 1 = 1, since that's obvious

1 = √1

1 = √(-1 × -1)

1 = √(-1) × √(-1)

1 = i × i

1 = i2

1 = -1

Q.E.D.

Answer (highlight):

Remember, square root gives TWO answers. Certain rules have to be followed when you break up the radical like that. This is an example of how NOT to do it.