Python Programming Laboratory
Subject Overview
The practical companion to Python Programming, building programs around primality testing, string manipulation, NumPy array operations, dictionary-based letter frequency counting, tuple operations, alternate-line file copying, exception handling, and plotting sine/cosine/exponential curves and business line charts. A 2-credit core lab paper.
Unit-wise Syllabus
1 units — click WhatsApp below to get the full notes for each
Unit 1: Programming and data handling exercises
Prime number check, power calculation, even/odd parameterized function, alternating series summation, menu-driven string operations (character frequency, replace, remove occurrences), string search returning indices, NumPy array operations (fill, min/max, dot product, reshape), letter-frequency dictionary, tuple operations (split, filter evens, concatenate, min/max), alternate-line file copying, ZeroDivisionError handling, duplicate-detection exception, sine/cosine/polynomial/exponential curve plotting, monthly profit line plot
