Oct-09-2017, 08:41 AM
Quote:This isnt doing what you think it isdiscount == 0.60
== is comparison while = is assignment
Recommended Tutorials:
TypeError: can't multiply sequence by non-int of type 'str'
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
TypeError: unsupported operand type(s) for /: 'str' and 'int' | enderfran2006 | 1 | 2,741 |
Oct-01-2020, 09:41 AM Last Post: buran |
|
TypeError: can't multiply sequence by non-int of type 'complex' | FeverDream | 2 | 12,883 |
Jul-12-2018, 11:08 PM Last Post: DeaD_EyE |
|
TypeError: can't multiply sequence by non-int of type 'str' | rmpadilla73 | 4 | 30,565 |
May-28-2018, 12:21 AM Last Post: py_learner |
|
python!TypeError: can't multiply sequence by non-int of type 'float' | shaywune | 2 | 9,611 |
Sep-24-2016, 04:33 PM Last Post: shaywune |