AI Ustoz UZ: learn artificial intelligence in Uzbek
Beginner level

Python and artificial intelligence

Learn the basics of Python and see, through a small “agent” example, how programs that use artificial intelligence are built.

5 lessons · 60 min

  1. How programs work with artificial intelligence8 min
  2. Python basics: print, variable, f-string, list and loop14 min
  3. Dictionary and JSON: structured data12 min
  4. Functions: code you can reuse12 min
  5. A simple “agent”: a program that picks a tool14 min

Project: “Mini assistant”

Write a small Python program: a dictionary with a few questions and answers, a function that returns the matching answer, and an “I do not know” case for an unknown question. Test it with 3 questions.

Project steps

  • I built the question–answer dictionary
  • I wrote the function that returns an answer
  • I handled an unknown question
  • I tested it with 3 questions