Timeline for Call a method from a Python object
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 7, 2021 at 10:50 | vote | accept | Community Bot | ||
| Mar 7, 2021 at 10:25 | answer | added | Macintosh_89 | timeline score: 2 | |
| Mar 7, 2021 at 10:24 | comment | added | xdhmoore |
I think you need some parentheses and an argument: print(mypalindrome.func(uname)). Also, you're not actually using self.myname anywhere.
|
|
| Mar 7, 2021 at 10:23 | comment | added | Rishabh Kumar |
You sure you wrote this correct : Palindrome mypalidrome=Palindrome(uname) ?
|
|
| Mar 7, 2021 at 10:20 | history | asked | user14187680 | CC BY-SA 4.0 |