Перейти к содержимому

Python Practical 1 (Program 2 ) | Calculate Total & Average of Three Numbers

Shahbaz Technical

0:00 / 0:00

Python Practical 1 (Program 2 ) | Calculate Total & Average of Three Numbers

37 просмотров · 2 нед. назад
Shahbaz Technical
19 подписчиков
37 просмотров · 2 нед. назад
Welcome to *Shahbaz Technical!* 💻🐍 In this video, Shahbaz Sayyed demonstrates *Python Practical 1 – Program 2: Calculate Total and Average of Three Numbers* using Python IDLE. This beginner-friendly tutorial explains how to accept numerical input from the user, store values in variables, perform calculations, and display the results step by step. 📌 *TOPICS COVERED* ✔ Accepting three numbers using `input()` ✔ Converting input into floating-point numbers using `float()` ✔ Storing values in variables ✔ Calculating the total of three numbers ✔ Calculating the average ✔ Displaying results using `print()` ✔ Running a Python program in Python IDLE 🧮 *FORMULAS USED* *Total = Number 1 + Number 2 + Number 3* *Average = Total / 3* 💻 *SAMPLE OUTPUT* For inputs 10, 20, and 30: Total: 60.0 Average: 20.0 📚 *NOTES & STUDY MATERIALS* Want to access or download notes and study materials related to your subjects? Visit NotesHub! 🔗 *NotesHub:* https://notes-hub-swart.vercel.app/ Explore learning resources and study materials to support your learning. 🎯 *WHO SHOULD WATCH?* • FY B.Sc. Artificial Intelligence and Machine Learning students • Students learning Programming Fundamentals in Python • Computer Science and IT beginners • Students practising Python programming practicals • Anyone learning basic Python programming 📖 *PYTHON PRACTICAL SERIES* This video is part of the Programming Fundamentals in Python practical series by Shahbaz Sayyed. *Practical 1 consists of three programs:* 1. Program 1: Perform Arithmetic Operations Using User Input 2. Program 2: Calculate Total and Average of Three Numbers 3. Program 3: Calculate Simple Interest and Total Amount 🚀 *SUPPORT SHAHBAZ TECHNICAL* 👍 Like this video if it helped you. 💬 Comment below if you have any questions. 📤 Share this video with your classmates and friends. 🔔 Subscribe to Shahbaz Technical for more programming practicals, computer science tutorials, and technology lessons. #PythonProgramming #PythonPractical #PythonForBeginners #PythonIDLE #ComputerScience #ProgrammingFundamentals #ShahbazTechnical #NotesHub