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

BP101-T | Type Casting & Operators | B.Pharm BP101T Python Lecture 3 | PharmaCode

PHARMACODE

0:00 / 0:00

BP101-T | Type Casting & Operators | B.Pharm BP101T Python Lecture 3 | PharmaCode

8 просмотров · 2 недели назад
PHARMACODE
8 подписчиков
8 просмотров · 2 недели назад
Welcome to PharmaCode — Pharmacy × Technology × Data! 💊💻 In this lecture, we will learn Type Casting and Operators in Python as part of the BP101T Python Programming syllabus for B.Pharm students. This lecture is designed for beginners, so no prior programming experience is required. 📚 Topics Covered in This Lecture ✅ Type Casting in Python ✅ Converting data types using int(), float(), and str() ✅ Arithmetic Operators ✅ Comparison Operators ✅ Assignment Operators ✅ Logical Operators ✅ Difference between = and == ✅ Pharmaceutical examples using Python ✅ Practice questions and viva preparation 💊 Learn Python Through Pharmaceutical Examples We will use simple pharmacy-related examples to understand how Python performs calculations and handles different data types. These examples are for programming education only and are not clinical dosing recommendations. 🎯 Practice Task Create the following variables in Python: Patient age: 25 Patient weight: 60.5 kg Number of tablets: 2 Drug name: Paracetamol Your tasks: Convert the patient's age from a string to an integer. Calculate the patient's age after 5 years. Calculate the total amount for 2 tablets containing 500 mg each. Print all the information using Python. 💬 Comment your answer below! Practice regularly to improve your programming skills. 📌 About This Series This lecture is part of the BP101T Python Programming for Pharmaceutical Sciences series, created especially for B.Pharm students following the new syllabus. Subscribe to PharmaCode for beginner-friendly Python tutorials, pharmaceutical data analysis, and technology-related learning. 🔔 Like, share, and subscribe to support our learning community! Learn • Practice • Build 🚀 #PythonForBPharm #BP101T #PythonProgramming #PharmaCode #BPharmStudents #TypeCasting #PythonOperators #PythonInHindi #PharmacyStudents #pharmaceuticalsciences python for b pharm, python for bpharm students, BP101T, BP101T Python, type casting in python, operators in python, python type conversion, arithmetic operators in python, comparison operators in python, logical operators in python, assignment operators in python, python tutorial in hindi, python for pharmacy students, B Pharm Python, B.Pharm 2026 syllabus, PCI B Pharm syllabus, PharmaCode, Python programming for beginners