From Blocks to Python

Move from coding blocks to Python with simple programs, Turtle drawings, variables and loops.

BeginnerCertificate

New courseUpdated October 2026English

Part of Creators (Ages 11 to 13) · Course 5 of 7

Free

  • Pay with MTN MoMo, Airtel Money, M-Pesa or card
  • Learn on phone or laptop
  • Certificate of completion
  • Data saver for low data: words without sound, light pictures
Training 5 or more people? Get Yiga for Business

What you'll learn

  • Set up the tools needed to practise Python.
  • Write and run simple Python instructions.
  • Connect block coding ideas to Python code.
  • Create simple drawings using Turtle commands.
  • Store and update values using variables.
  • Repeat instructions using loops.
  • Spot and fix common beginner coding mistakes.
  • Combine course concepts in a graded project.

Skills you'll gain

This course includes

  • 8h 5m of video
  • 20 lessons
  • 4 quizzes
  • 1 project
  • AI tutor
  • Certificate of completion
  • Learn on your phone or computer

Curriculum

4 modules · 25 lessons · 8h 5m total
  • Overview and set up20m
  • Core concepts20m
  • Worked example20m
  • Hands on practice20m
  • Common pitfalls20m
  • Module quiz: Python basics10m

Projects

Graded project: From Blocks to Python

Apply everything from From Blocks to Python in one graded, portfolio ready build.

Requirements

  • A laptop or desktop that can run Python and Turtle graphics.
  • Internet access to use Yiga AI and submit course work.
  • Basic typing and file handling skills; block coding experience is helpful but not required.

Description

From Blocks to Python is a beginner Junior course on Yiga AI. It introduces text based coding through Python basics, Turtle graphics, variables and loops. Connect familiar block coding ideas to written instructions, or start learning these ideas for the first time. Each module includes set up guidance, core concepts, a worked example, hands on practice, common pitfalls and a quiz. Practise writing Python instructions, drawing with Turtle, storing values and repeating actions with loops. Finish with the graded From Blocks to Python project to bring your learning together. This course builds a foundation for further programming study, rather than preparing you for a job on its own.

Who this course is for

  • School learners in Uganda, Kenya, Tanzania, Rwanda and Nigeria starting text based coding.
  • Learners who have used coding blocks and want to try Python.
  • Coding club members looking for structured beginner practice.
  • Young first time programmers interested in drawing with code.

Career outcomes

Frequently asked questions

Will I receive a certificate?

Yes. From Blocks to Python ends with a Yiga certificate of completion. Finish every lesson, and it appears under Certificates with a link anyone can use to check it is real.

How long will I have access to the course?

Access length depends on the terms shown when you enrol. Check your enrolment details or contact support for clarification.

Can I study offline or with limited data?

Python and Turtle practice can be done offline once the required tools are installed on your computer. Check Yiga AI for any downloadable or low data learning options; do not assume all lessons, quizzes or submissions work offline.

Can I pay with MTN MoMo, Airtel Money, M-Pesa or a card?

Check checkout for the payment methods available in your country. Confirm whether MTN MoMo, Airtel Money, M-Pesa or card payment is listed before proceeding.

How do I request a refund?

Contact support with your enrolment and payment details to ask about a refund.

Junior AI Explorers cover illustration

Junior AI Explorers

Explore patterns, practise clear prompts and learn to use AI safely through creative beginner activities.

Yiga AI

CourseNew
8.1 total hours20 lessonsBeginner
Web Pages with HTML & CSS cover illustration

Web Pages with HTML & CSS

Learn to structure, style, add images to, and publish a web page using HTML and CSS.

Yiga AI

CourseNew
8.1 total hours20 lessonsBeginner
AI & Machine Learning for Teens cover illustration

AI & Machine Learning for Teens

Explore how AI learns from data, practise chatbot basics, and examine fairness in machine learning.

Yiga AI

CourseNew
8.1 total hours20 lessonsBeginner
Creators Showcase cover illustration

Creators Showcase

Work with a team to build a small project and present it at demo day.

Yiga AI

CourseNew
8.1 total hours20 lessonsBeginner

From Blocks to Python

Free