Python Classroom notes 05/Feb/2026

Instructions (How to interact)

  • We will be using simple math problems to build instructions
  • Instructions will not have any programming languages

Mental Model

Preview

kid’s execution capability

  • math:
    • add (+)
    • sub (-)
    • mul (*)
    • div (/)
    • quotient (//)
    • mod (%)
  • Assignment:
    • Remember (=)

Problem 1: simple intrest

For us

  • Inputs:
    • Prinicpal (p)
    • Time (t)
    • Rate of intrest
  • Prompt:
show me how to calculate simple intrest and give atleast two examples

Instructions

  • Remember 10000 as p ( p = 10000 )
  • Remember 5 as r
  • Remember 2 as t
  • calculate p * t * r / 100 and remember as si
  • print or say si

Debugging

Preview

Problem 2: Convert from kgs to pounds

  • inputs:
    • weight in kilos
  • formula: show me how to Convert from kgs to pounds and give atleast two examples

Instructions

  • Remember 5 as weight_in_kilos
  • calculate 2.20462 * weight_in_kilos and remember it as weight_in_pounds
  • say weight_in_pounds

  • Exercises:

    • celsius to farnheit
    • miles to kilometers

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading