my code:
import math
var = float(input())
SqrtVar = math.sqrt(var)
print("sqrt(", var, ") =", SqrtVar)
this prints out for input 5:
sqrt( var ) = *something or other*
how to remove the spaces after and before the var??
my code:
import math
var = float(input())
SqrtVar = math.sqrt(var)
print("sqrt(", var, ") =", SqrtVar)
this prints out for input 5:
sqrt( var ) = *something or other*
how to remove the spaces after and before the var??