def pl():
num1=float(ent.get())
ent.delete(0, END)
num2=float(ent.get())
result=sum(num1, num2)
ent.insert(END, result)
When I want to sum both of the numbers this error happens. It says I cannot convert string number to the float one.