Python Foundations Lab
Basics of Python Programming for Pharmaceutical Sciences (BP101T) · Semester 1 · Unit 1: Introduction to Python programming
Practise variables, strings, type conversion, operators and input/output using pharmacy values.
What this unit covers
Use an IDE conceptually, then trace variables, integers, floats, strings, Booleans, type casting, operators, and input/output in a sample pharmacy-data example. Library installation is discussed as a controlled learning concept, not performed by this browser workspace.
Apply it
Choose a suitable data type for each field in a simulated medicine record, then explain one type conversion and output.
How this lab works
Calculated in your browser from the values you set.
Data used
Sample data made for teaching. No patient, company or clinical records are used.
Limits
For learning only. Results are not clinical, regulatory or quality decisions.