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
-
Topics
-
0
-
mx5nos ·
Posted in Troubleshooting0 -
2
-
pchelp ·
Posted in Programs, Apps and Websites3 -
Cople ·
Posted in New Builds and Planning3 -
2
-
johnny45 ·
Posted in Linux, macOS and Everything Not-Windows0 -
11
-
Stahlmann ·
Posted in Graphics Cards4 -
Nicovl ·
Posted in Laptops and Pre-Built Systems1
-
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