Python Forum
TypeError: can't multiply sequence by non-int of type 'str'
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TypeError: can't multiply sequence by non-int of type 'str'
#5
(May-21-2018, 06:06 PM)j.crater Wrote:
width=int(input("what is the width?"))
height=int(input("what is the height?"))
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: TypeError: can't multiply sequence by non-int of type 'str' - by wavic - May-21-2018, 06:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  TypeError: unsupported operand type(s) for +: 'dict' and 'int' nick12341234 1 9,366 Jul-15-2022, 04:04 AM
Last Post: ndc85430
  TypeError: unsupported opperand type(s) for %: 'int' and 'list' cool_person 7 2,246 May-07-2022, 08:40 AM
Last Post: ibreeden
  TypeError: sequence item 0: expected str instance, float found Error Query eddywinch82 1 5,164 Sep-04-2021, 09:16 PM
Last Post: eddywinch82
  Why can't I explicitly call __bool__() on sequence type? quazirfan 11 4,703 Aug-20-2021, 06:49 AM
Last Post: Gribouillis
  You have any idea, how fix TypeError: unhashable type: 'list' lsepolis123 2 3,041 Jun-02-2021, 07:55 AM
Last Post: supuflounder
  Error : "can't multiply sequence by non-int of type 'float' " Ala 3 3,108 Apr-13-2021, 10:33 AM
Last Post: deanhystad
  TypeError: __str__ returned non-string (type tuple) Anldra12 1 7,435 Apr-13-2021, 07:50 AM
Last Post: Anldra12
  TypeError: 'type' object is not subscriptable Stef 1 4,560 Aug-28-2020, 03:01 PM
Last Post: Gribouillis
  TypeError: unhashable type: 'set' Stager 1 2,630 Jun-08-2020, 04:11 PM
Last Post: bowlofred
  TypeError: __repr__ returned non-string (type dict) shockwave 0 3,208 May-17-2020, 05:56 PM
Last Post: shockwave

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020