


Python is one of the most popular programming languages in the world, used for web apps, automation, data science and AI. This beginner-friendly practice course helps you learn and check the basics through 100 simple multiple-choice questions. Every question includes a hint and a clear explanation, so you learn as you go, even if you've never written code before.
You will explore 10 topics, 10 questions each, organized into 5 practice tests of 20 questions:
Test 1 - Python Setup, Syntax, Variables & Data Types: Python setup, syntax, comments and printing, then variables, data types and type conversion.
Test 2 - Operators, Strings & Conditions: operators, expressions and string basics, then conditions with if, elif and else.
Test 3 - Loops, Lists & Tuples: for loops, while loops, range, break and continue, then lists and tuples.
Test 4 - Dictionaries, Sets & Functions: dictionaries and sets, then functions, parameters, return values and scope.
Test 5 - Modules, Files, Errors & Classes: modules, imports and files, then errors, exceptions and a first look at classes.
How to use it: read each question, use the hint if you get stuck, then read the explanation. Try the code snippets yourself in a Python interpreter. Use Practice mode to learn and Exam mode to test yourself.
Great for complete beginners, students, career changers and anyone starting their programming journey with Python.
Questions are based on Python 3.
Created by a Senior Salesforce and AI Architect, Salesforce trainer and Dreamforce speaker with 15+ years of enterprise cloud and data experience.