Solving a Simple Object-Oriented Python Exercise for Beginners

Published: 29 March 2023
on channel: Christian Hur
262
7

⭕ Overview
In this video, we'll solve a simple exercise in Python using object-oriented approach.

Problem:

Implement a class Student. For the purpose of this exercise, a student has a name and a total quiz score. Supply an appropriate constructor and methods getName(), addQuiz(score), getTotalScore(), and getAverageScore(). The constructor should accept the student name and list of scores.

getName() - returns the student name
addQuiz(score) - adds additional score to the scores list
getTotalScore() - returns the total of the scores list
getAverageScore() - returns the average score

⭕ Chapters
0:00 - Introduction

⭕ About me
I am a Web instructor and author for Linkedin Learning (formerly Lynda.com), Packt, E-C Council, Udemy, and MC Press.

⭕ Visit my site: https://christianhur.com
⭕ My complete online training courses:
☑️ REST APIs & AJAX Operations Using Node, Express, and jQuery: https://www.udemy.com/course/rest-api...
☑️ Build Clean and Secure PHP Web Apps From Scratch: https://www.udemy.com/course/build-cl...
☑️ Angular 9 New Features: https://www.packtpub.com/web-developm...
☑️ Full-Stack Web Development with Flask: https://www.packtpub.com/web-developm...
☑️ Full-Stack Web Development with Django & Angular 8: https://www.packtpub.com/web-developm...
☑️ Angular 7 New Features: https://www.packtpub.com/web-developm...
☑️ The DOM in JavaScript, jQuery, AngularJS, and React :   / the-dom-in-javascript-jquery-angularjs-and...  
☑️ Building JSF Web Applications with Java EE 7:   / building-jsf-web-applications-with-java-ee-7  
☑️ Troubleshooting Vue.js: https://www.packtpub.com/application-...

⭕ Check out my book:
Developing Business Applications for the Web: With HTML, CSS, JSP, PHP, ASP.NET, and JavaScript is available on Amazon and MC Press.
☑️ Link: https://www.mc-store.com/collections/...


On this page of the site you can watch the video online Solving a Simple Object-Oriented Python Exercise for Beginners with a duration of hours minute second in good quality, which was uploaded by the user Christian Hur 29 March 2023, share the link with friends and acquaintances, this video has already been watched 262 times on youtube and it was liked by 7 viewers. Enjoy your viewing!