Course 1 of 6 · Start here

Python for Complete Beginners

Code Your First Real Programs

Never written code before? Start here. Learn Python one small program at a time, with everyday analogies, live coding and practice after every new idea, then plan, build and test your own quiz app.

Coming soon: notify me ›Get all six in the Bootcamp
  • Course 1 of 6
  • No experience needed
  • Python 3
  • Self-paced

Free preview lesson 3.2: Making a decision with if and else (10 min)

What you will learn

By the end of the course you can

  • Write and run your first Python programs in a free browser editor, with clear variable names and comments.
  • Ask the user for input, convert it to numbers, and do calculations with rounding and money formatting.
  • Make your programs choose with if, elif and else, and test the boundaries where a decision changes.
  • Repeat work with for and while loops, counters and running totals, and stop a loop safely.
  • Store information in lists and dictionaries and loop through them.
  • Organise your code into reusable functions with parameters and return values.
  • Read error messages, debug step by step, validate input with try / except and record your tests.
  • Plan, build and test an interactive quiz application on your own.

Who it is for

This course suits you if

  • You have never written a line of code.
  • You tried to learn coding before and felt lost.
  • You want a gentle, practical start before Python for data or other programming.
Laptop showing a Python for Complete Beginners live-coding lesson: an if and else program with its output
You will need

A computer with internet access. You code in Programiz, a free online editor, so there is nothing to install, or you can use any Python 3 editor you prefer. No coding experience is needed.

What's included

Everything in this course

Video lessons

One idea at a time, explained with an everyday analogy, then coded live so you can follow along.

Handbook and workbook

A handbook to keep open as a quick reference, and a workbook activity for every lesson.

Quizzes

A 10-question knowledge check at the end of each section.

Challenges and solution videos

An independent challenge in every section with a starter file, tests and a simple marking rubric, then a separate solution video.

Seven small programs

Build a personal introduction, a bill and tip calculator, a ticket price adviser, a guessing game, a task list, a reusable calculator and a repaired score report.

Testing from day one

Learn to check your own programs with test tables and to read error messages calmly.

Two pages of the Python for Complete Beginners handbook: the Section 3 Decisions and Conditions cover and a page on making a decision with if and else

Inside the handbook

A handbook for every section

Each section has a handbook with plain-English explanations, worked examples and a quick reference, plus a workbook for your practice activities.

Shown: the Section 3 cover and the page on making a decision with if and else.

Course content

Eight sections, one final project

  1. 1Section 1

    Your First Python Program

    Print messages, add comments, store information in variables and ask the user for input.

  2. 2Section 2

    Data Types and Calculations

    Work with text and numbers, convert input, calculate, round and format money.

  3. 3Section 3

    Decisions and Conditions

    Make choices with if, elif and else, tidy text answers and test the boundaries.

  4. 4Section 4

    Loops

    Repeat work with for and while, keep counters and running totals, and stop safely.

  5. 5Section 5

    Lists and Dictionaries

    Store many values, change them, and loop through lists and dictionaries.

  6. 6Section 6

    Functions

    Define and call functions with parameters and return values, and reuse them.

  7. 7Section 7

    Testing and Debugging

    Read error messages, use test tables, debug step by step and validate input.

  8. 8Section 8Final project

    Final Project

    Plan, build in milestones and test your own interactive quiz app.

Final project: the Interactive Quiz

In Section 8 you plan, build and test an interactive quiz app on your own: a question bank, scoring, feedback, input validation and a test table. You finish with a working program you built yourself.

Two pages of the Interactive Quiz final project brief: what you will build, and the self-assessment and marking table

See inside the course

Small programs, one step at a time

Explore slides from the actual lessons, including the live demonstrations. Click or tap any image to see it full size.

Lesson slide: live coding an if and else program in the online editor, with three Try these tasks
Section 3: Live coding with if and else, then three "Try these" tasks.
Lesson slide: making a decision with if, showing which lines run when the condition is true
Section 3: Making a decision with if.
Lesson slide: dictionaries, keys and values, explained with a real dictionary
Section 5: Dictionaries: keys and values.

How every lesson works

Learn one idea, then code it straight away

No jargon without an explanation and no skipped steps. Common errors are shown and fixed on screen.

Watch the free preview ›
  1. 1Learn one idea: a short explanation with an everyday analogy.
  2. 2Code along: we stop and code it together in a free online editor.
  3. 3Practise: a workbook activity for every lesson.
  4. 4Check yourself: a 10-question quiz at the end of each section.
  5. 5Build it yourself: an independent challenge, then a line-by-line solution video.
Sophie Lumpa

Created by Virtavis Learning

Sophie Lumpa

Data and Business Intelligence Specialist, founder of Virtavis Learning

Sophie Lumpa created this course and its step-by-step approach, so every new idea is explained, shown and practised straight away. The Virtavis teaching team provides additional training and learner support through the Bootcamp and live cohorts.

  • BCS Certified Data Analyst
  • BSc (Hons) Business Management and IT
  • Adult education teaching qualification
  • AgilePM
  • Certified Scrum Master

Questions

Questions about the course?

Something else?

If your question isn't answered here, send it to us and the Virtavis team will reply by email.

Contact us ›
Do I need to install anything?
No. You code in Programiz, a free online editor that runs in your web browser. You can also use any Python 3 editor you prefer.
Do I need any coding experience?
No. The course starts from the very first line of code. You need basic computer skills, such as typing, opening files and using a web browser.
Where do I buy this course?
On Udemy. The "View on Udemy" button opens the course page, where you can see the current price and terms.
Is it included in the Bootcamp?
Yes. The Virtavis Bootcamp brings all six courses together with the full practice dataset, additional templates and learning resources, and email support. A tutor-supported option is also available with four 30-minute one-to-one sessions, subject to the published package terms.
Is this a course on professional software development?
No. You finish with a solid, practical foundation in Python. It is a strong first step before Python for data or other programming.
Do I get a certificate?
Udemy provides its certificate of completion, subject to its terms. As part of our commitment to delivering high-quality professional learning, we are working towards obtaining CPD accreditation for our courses. We look forward to sharing further updates as we progress.

Coming soon

Be first to know when it’s on Udemy

Python for Complete Beginners is in Udemy’s final review. Leave your name and email and we’ll send you one message with the link as soon as it’s live. Signing up doesn’t commit you to anything.

Want to practise while you wait? Get the free starter kit.

We only use your details to tell you when the course is live. Privacy notice

Start with the free preview.

See how the lessons work before you choose.

Coming soon: notify me ›Explore the Bootcamp