PyAI Learn Türkçe

Module 1

First steps

print, numbers, text, names

When you finish this module you can say:

I can write programs that take input from the user, do a calculation, and print the result correctly.

By the end of this module you'll be able to write a program that asks the user for their name and birth year, calculates their age, and greets them by name.

Start

Lessons

8 lessons · ≈ 68 min

  1. print and comments6 min
  2. Numbers and operators8 min
  3. Text and f-strings8 min
  4. Names and values9 min
  5. Calling functions8 min
  6. Types and conversion8 min
  7. Talking with input9 min
  8. Project: Welcome bot12 min · project

Practice exercises

Short writing exercises, independent of the lessons: Go to the exercises

  1. Price tag
  2. Aligned table
  3. Type detective
  4. Your age next year