Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency
Q
?
A -
Informatica
search
Login
Remember
Register
New Activity
Questions
Unanswered
Tags
Categories
Users
Course
News
FAQs
Do you need help?
Ask a Question
Notice Board
Situazione finale voti HW
Eserciziario Python
WTF Python!
Exams
Test
Grades
Attachments
Esame 6-11-19
check
RECUPERO Homework 1
link
RECUPERO Homework 2
link
RECUPERO Homework 3
link
RECUPERO Homework 4
link
Esame 19-9-19
check
link
Esame 16-7-19
check
link
Esame 24-6-19
check
link
Esame 10-4-19
check
link
Esame 31-1-19
check
link
Esame 8-1-19
check
link
Homework 4
link
Homework 3
check
link
Homework 2
check
link
Homework 1
check
link
1.162
questions
1.988
answers
3.710
comments
591
users
Related questions
ESERCIZIO 2 HOMEWORK1 TEST 'int' object is not subscriptable
Most popular tags
esercizio3
homework3
es3
homework
es2
hw3
homework1
es1
homework4
homework2
esercizio1
esercizio2
avvisi
hw4
peer-assessment
hw2bis
python
hw4bis
problema
hw3bis
prova-di-esame
homework-di-recupero
hw2
test
voti
esame
ricorsione
consegna
hw1bis
tempi
aiuto
homework2bis
errore
dizionari
librerie
risultati
liste
scadenze
attore
feedback
consigli
zip
hw1
research
oggetti
metodi
esercizio
program_03
bonus
efficienza
Categories
Announcements
(13)
Intro. to Programming and Lab AA22-23 (Latina)
(14)
Programming AY20-21
(123)
Programming AY21-22
(205)
Programming AY22-23
(296)
Programming AY23-24
(182)
Fondamenti di programmazione AA18-19
(1.2k)
Info sul corso e sugli esami
(278)
Homework
(650)
Homework 1
(165)
Homework 2
(149)
Homework 3
(216)
Es1
(41)
Es2
(88)
Es3
(87)
Homework 4
(120)
Programmare in python
(31)
Avvisi
(65)
Homework di recupero
(138)
Fondamenti di Programmazione AA19-20
(436)
Fondamenti di Programmazione AA20-21
(709)
Fondamenti di programmazione AA21-22
(366)
Fondamenti di programmazione AA22-23
(564)
Fondamenti di programmazione AA23-24
(350)
Other
(26)
Anni precedenti
(784)
Architetture degli elaboratori AA20-21
(3)
BUG BOUNTY / IMPROVEMENTS
(4)
not subscriptable
e
el_libregome
(870 points)
11
35
43
asked
Dec 17, 2018
in
Es3
by
el_libregome
(
870
points)
sapete come mai mi dia questo errore nel richiamare la funzione nome per i coprotagonisti, nonostante mi funzioni per l'attore di partenza?
630
views
closed
6
1
Answer
Best answer
_andrea_
(45670 points)
13
42
297
answered
Dec 17, 2018
by
_andrea_
(
45.7k
points)
selected
Dec 17, 2018
by
el_libregome
Not subscriptable se non sbaglio significa che da qualche parte stai facendo una cosa tipo variabile[x] ma la variabile non è una lista e non puoi usare le quadre. Potrei sbagliare ma controlla dove usi le quadre
5
comment
Show 8 previous comments
_andrea_
(45670 points)
13
42
297
commented
Dec 17, 2018
by
_andrea_
(
45.7k
points)
Te l'ho detto, da qualche parte stai usando le parentesi quadre su un oggetto di tipo attore, che ovviamente non le supporta. Trova quel punto di codice, cerca ovunque usi le quadre e trova il punto in cui le usi su un oggetto di tipo attore. Quello è l'errore
_andrea_
(45670 points)
13
42
297
commented
Dec 17, 2018
by
_andrea_
(
45.7k
points)
Ma quindi l'errore per intero è una cosa tipo "type Attore is not subscriptable"?
e
el_libregome
(870 points)
11
35
43
commented
Dec 17, 2018
by
el_libregome
(
870
points)
'Attore' object is not subscriptable
_andrea_
(45670 points)
13
42
297
commented
Dec 17, 2018
by
_andrea_
(
45.7k
points)
Allora è sicuramente come dico io
e
el_libregome
(870 points)
11
35
43
commented
Dec 17, 2018
by
el_libregome
(
870
points)
ok allora provo.
grazie
Please
log in
or
register
to add a comment.