subject

Write a class Student() such that it has an attribute 'score' (that is initialized with 10) and three methods: add_score(): adds 10 to the score decrease_score(): decreases score by 10 __str__(): returns the current score (should return a string) Example:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When using a public computer or network, you should always
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Complete the sentence about a presentation delivery method
Answers: 2
You know the right answer?
Write a class Student() such that it has an attribute 'score' (that is initialized with 10) and thre...
Questions
question
Mathematics, 16.12.2020 18:30
question
Social Studies, 16.12.2020 18:30
question
Mathematics, 16.12.2020 18:30
Questions on the website: 13722362