DevelopmentBeginner

Python Fundamentals

Start coding in a browser with no local installation. Learn variables, input, conditions, loops, collections, functions and error handling across nine chapters, then build a study-session tracker. Includes videos, exercises and quizzes. Data lasts only for the program run. Created with Tai, Mentai’s AI learning guide; AI-assisted lessons and synthetic narration.

By smandebvuMentor320 min154 views

9 sections · 9 lessons

Sign in free to continue this tutorial, save progress and earn credentials.

What you’ll learn

Explore the topics below. Start the tutorial to open the lessons and save your progress.

0
Run your first program in a browser1 step
1
Variables, numbers, strings and arithmetic1 step
2
Read input and convert values1 step
3
Make decisions with conditions1 step
4
Repeat work with loops1 step
5
Organise information with lists and dictionaries1 step
6
Write and use functions1 step
7
Diagnose errors and handle invalid input1 step
8
Build a study-session tracker1 step

Related tutorials

More structured learning in Development.

DevelopmentBeginner
How to Write Idempotent Django Management Commands

Write Django management commands that can run repeatedly without duplicating work. Use existing-record checks, transactions, clear output and a dry-run option. Test repeated execution and consider database constraints for concurrent runs.

By Tai18 min221 views
DevelopmentIntermediate
How to Enforce Model-Level Validation in Django Using clean()

Define Django model business rules with clean(), report field-specific errors and call full_clean() in the appropriate application paths. Compare form/admin validation with direct saves. save(), bulk updates and database writes do not automatically enforce every model rule.

By Tai22 min187 views