Corrections made to the handwritten record
Python Lab Practical Record · Python programming laboratory
Read with diagrams, search and self-test
• Exp 1A: flowchart branches redrawn so every path (A, B or C) leads correctly to STOP.
• Exp 1B: flowchart input box corrected from "Input value C" to "Read F".
• Exp 2A: title "except" corrected to "accept"; labels "Subration", "Multiflication" corrected to Subtraction, Multiplication.
• Exp 2B: print label completed as "Age after 5 years".
• Exp 2C: output corrected — 10 × 5 = 50.0 (the record showed 500).
• Exp 3A: output corrected — 4 is an EVEN number (the record printed "The number is odd").
• Exp 3C: loop condition written as while n > 0 and the factorial printed once, after the loop.
• Exp 5A: statements arranged in the same order as the output (add → remove → sort).
• Exp 5C: functions add_entry() and remove_entry() added as asked in the aim.
• Exp 6A: file name made the same for writing and reading (numbers.txt — the record used "number.txt" while reading).
• Exp 6C: "count = count+1" kept inside the loop; the input CSV file is shown.
• Exp 7B: an Animal object is also called, so both versions of sound() are seen and the overriding is clear.
• Exp 9A: range formula corrected to max(sample) − min(sample) (record had "max(sample) − (sample)"); stray "Print()" spelling fixed; charts re-plotted from the real values.
• Exp 10B: fifth X-bar value written as 11.25 to agree with Exp 9A.
• All programs were executed in Python 3, and the outputs shown are the actual outputs. Exp 8 programs were checked with a simulated GPIO library; on the Raspberry Pi they drive the motor/fan through the L298N driver.