I'm getting the syntax error: Traceback (most recent call last): File "python", line 4, in TypeError: unsupported operand type(s) for ** or pow(): 'unicode' and 'int'
Edit: Okay so this is my new code it'll reset once it's done so you can enter another number until you enter something that isn't a number
while True:
print 'Welcome to the "Square Root Calculator"'
print
number = float(raw_input ('Insert a number: '))
answer = number ** (1./2)
print
if number:
print ('Square Root: ' + str(answer))
else:
break
print '#=====================================================#'
print '| |'
print '#=====================================================#'
pass