Python Practical 2 (Program 1) | Grade Evaluation Using Average of 5 Subjects #python #coding
Shahbaz Technical
0:00 / 0:00
Python Practical 2 (Program 1) | Grade Evaluation Using Average of 5 Subjects #python #coding
29 просмотров · 2 нед. назад
Shahbaz Technical
19 подписчиков
29 просмотров · 2 нед. назад
In this video, we will solve Practical 2, Program 1 from Programming Fundamentals in Python. The program evaluates a student's grade based on the average marks obtained in five subjects.
I have demonstrated the program step by step in Python IDLE, including how to accept marks for five subjects, calculate the total and average, and use if-elif-else conditional statements to assign the final grade.
In this practical, you will learn:
How to accept marks for five subjects using input()
How to calculate total marks
How to calculate average marks
How to use if, elif and else conditions
How to assign grades based on average marks
How to display the total, average and final grade
This video is useful for FY B.Sc. Artificial Intelligence and Machine Learning students and anyone learning Python programming for college practicals.
📚 Notes and Study Materials
You can access and download study notes and learning materials from NotesHub:
https://notes-hub-swart.vercel.app/
Practise writing the program yourself and try different marks to see how the grade changes. This will help you understand conditional statements instead of simply memorising the code.
If you have any doubts, leave a comment below. Like the video and subscribe to Shahbaz Technical for more Python programming practicals and tutorials.
#PythonProgramming #PythonPractical #PythonForBeginners #ComputerScience #BScAIML #ShahbazTechnical