← Courses

Python for AI — Beginner Foundations

Data Science

Basics · Lesson 19 of 76

Intro to programming

Programming is writing a list of clear instructions for a computer to carry out, in order, exactly as written. The computer is fast and obedient but not clever — it does what you say, not what you meant.

Python

That's the heart of it: store some values, do something with them, show a result. Everything else in this course is just more powerful ways to do those three things.

Your turn: change quantity to 5 and run it again.

You’re reading for free. Sign in to keep your progress and earn a certificate when you finish.Sign in to keep my progress →