survey exercise with Python
Go to solution
Solved by RadiatingLight,
Just now, RadiatingLight said:should be
print(self.question)because you are accessing a class variable
also your docstring for show_results is wrong.
this also applies to show_responses, you need to access self.responses
-
Featured Topics
-
Topics
-
Hotblood ·
Posted in Storage Devices2 -
Nakul211 ·
Posted in Graphics Cards0 -
3
-
Moonphase ·
Posted in Graphics Cards1 -
8
-
Dennettic ·
Posted in CPUs, Motherboards, and Memory23 -
Lukdtx ·
Posted in Storage Devices2 -
1
-
1
-
3
-
-
play_circle_filled
Latest From Linus Tech Tips:
Update Windows Before Watching This - WAN Show June 14, 2024
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now