Python Forum
Error in Int object is not subscript-able.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in Int object is not subscript-able.
#1
Now, I know what you're thinking – "What the bloody hell are live sex cams?" Well, let me tell you, my mate. These are the virtual windows to a whole new world of pleasure, where you can watch stunning cam models strip, dance, and perform all sorts of X-rated acts for your viewing pleasure. And let me tell you, the selection is diverse – from famous pornstars to amateur chat girls, you'll find it all on my collection of live sex cam sites.
https://thefreesexcams.com/bigtits
https://chubbycam.net/bbw-free-live-chat/
https://lesbiancam.cc/lesbian-sex-online-chat/
https://couplelivecam.net/brunette
https://hotmyfreecams.com/chat/lynnalltop
You see, I've always been a bit of a tech-savvy chap, and when I accidentally stumbled upon these live sex cams, I was blown away. I couldn't believe that I could have a virtual one-on-one experience with these stunning ladies, all from the comfort of me own room. And let me tell you, mate, the experience is bloody mind-blowing.
Reply
#2
Please post errors (complete and unaltered error traceback)
or clearly explain error.
Reply
#3
You show 2 parts and the second part seems to be from an error console, but it is not the same as the first part so it is not clear what you mean. But one thing I can say:
(Jul-06-2022, 06:40 AM)kakut Wrote:
---> 27             humid= humid[2][i] - 1
Initially "humid" is a nested list. But after this line is executed, "humid" will be an integer. So if this is executed in a loop, the second time the line is executed it will complain about an integer that is not subscriptable.

You ask how to debug this. The simplest method is to add print statements before the line where the error occurs. There you should print all the variables that are used in the line with the error. Then you can see what goes wrong.
BashBedlam likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  error in class: TypeError: 'str' object is not callable akbarza 2 1,891 Dec-30-2023, 04:35 PM
Last Post: deanhystad
  Need help with 'str' object is not callable error. Fare 4 2,320 Jul-23-2023, 02:25 PM
Last Post: Fare
  How can I find the value of k(subscript t+1) for periods t=1...50? maeva 2 2,358 Nov-07-2021, 07:59 AM
Last Post: maeva
Star Type Error: 'in' object is not callable nman52 3 4,612 May-01-2021, 11:03 PM
Last Post: nman52
  Error in Int object is not subscript-able. How to debug this ? yanDvator 1 2,841 Aug-03-2020, 02:28 PM
Last Post: Larz60+
  how to solve "a bytes-like object is required, not 'str'" error maiya 2 5,492 Jul-28-2020, 07:03 PM
Last Post: bowlofred
  Getting error "TypeError: 'int' object is not callable" while using ylim maxprime_bhisham 2 4,958 Apr-26-2020, 10:55 AM
Last Post: DataAnalyticsIreland
  word subscript Staph 1 2,396 Mar-31-2020, 10:21 AM
Last Post: buran
  Sympy error "object is not callable" Cupcake 0 6,278 Feb-08-2020, 02:22 AM
Last Post: Cupcake
  object is not subscriptable... Error Message? Shafla 3 14,265 Sep-25-2019, 12:27 AM
Last Post: buran

Forum Jump:

User Panel Messages

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