Oct-15-2017, 07:49 AM
Inside the class, you keep printing 'a' but this is the passed argument which is always the same since you don't alter it. Do you mean to print self.a?
List not passing between methods inside a class definition
|
|
Messages In This Thread |
List not passing between methods inside a class definition - by ijosefson - Oct-14-2017, 10:35 PM
RE: List not passing between methods inside a class definition - by ichabod801 - Oct-14-2017, 10:44 PM
RE: List not passing between methods inside a class definition - by ijosefson - Oct-14-2017, 10:55 PM
RE: List not passing between methods inside a class definition - by ichabod801 - Oct-15-2017, 12:54 AM
RE: List not passing between methods inside a class definition - by wavic - Oct-15-2017, 07:49 AM
RE: List not passing between methods inside a class definition - by ijosefson - Oct-15-2017, 07:15 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Return a definition | samh625 | 6 | 2,520 |
Jul-28-2020, 08:32 AM Last Post: samh625 |
|
Please, how do I call the method inside this class | Emekadavid | 1 | 1,712 |
Jun-26-2020, 01:26 PM Last Post: Yoriz |
|
Child Class, Loop list | bjornnotborg | 2 | 2,427 |
Aug-28-2019, 12:31 PM Last Post: bjornnotborg |
|
Methods that return the highest score from the list | erfanakbari1 | 7 | 7,258 |
Mar-26-2019, 08:32 PM Last Post: aankrose |
|
New to coding. An error occurs with no definition | westernwhiskey | 4 | 3,071 |
Mar-15-2018, 12:37 PM Last Post: westernwhiskey |
|
How do you compute tf-idf from a list without using the counter class | syntaxkiller | 8 | 5,295 |
Dec-01-2017, 05:24 PM Last Post: nilamo |
|
trouble importing class definition from one .py into another | ijosefson | 3 | 3,404 |
Oct-16-2017, 08:24 AM Last Post: Larz60+ |