Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python Basics: Zero to Hero - 100 Practice Questions
New
3 students

Python Basics: Zero to Hero - 100 Practice Questions

Learn Python from scratch with 100 beginner questions and hints: variables, loops, functions, lists, dicts and files
Last updated 11/2026
English

What you'll learn

  • Understand Python syntax, variables, data types and operators
  • Write conditions and loops to control program flow
  • Use lists, tuples, dictionaries and sets with confidence
  • Write functions, import modules, read files and handle errors

Included in This Course

100 questions
  • Python Setup, Syntax, Variables & Data Types20 questions
  • Operators, Strings & Conditions20 questions
  • Loops, Lists & Tuples20 questions
  • Dictionaries, Sets & Functions20 questions
  • Modules, Files, Errors & Classes20 questions

Description

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.

Who this course is for:

  • Complete beginners and students who want to learn Python programming from scratch