git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Print statement


Please help me with this.

squares =input("\nSquares: ")

print(float((squares) *float(.15)) *(1.3))

Cant print answer.

   print(float((squares) * float(.15)) *(1.3))
TypeError: can't multiply sequence by non-int of type 'float'

Thx

L Smit