Print statement

L A Smit smitla at yandex.com
Tue Jan 28 05:14:09 EST 2020


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



More information about the Python-list mailing list