Quiz: Python's assert: Debug and Test Your Code Like a Pro
Test your understanding of Python's assert statement. Learn when to use assertions for debugging, testing, and documenting your code.
Curated development tutorials from top sources. Filter by language.
Test your understanding of Python's assert statement. Learn when to use assertions for debugging, testing, and documenting your code.
Have you ever been confused by the naming of modules you're importing from a package? Is there a standard way to organize and name your Python virtual
Test your understanding of BNF notation and how to read Python's grammar rules in the official documentation.
Learn how to send emails with Python using SMTP, attach files, format HTML messages, and personalize bulk emails for your contact list.
Use Python's standard library to send email through secure SMTP connections, attach files, include HTML content, and route replies.
Build an MCP server in Python that exposes tools, resources, and prompts so AI agents like Cursor can interact with your data.
Test what you've learned in the Exceptions, Logging, and Debugging path. Practice handling errors, raising exceptions, and using logging.
Revisit Requests, Beautiful Soup, Scrapy, and Selenium in this wrap-up quiz covering the Python Web Scraping learning path.
Practice creating statistical plots in Python with seaborn. Compare the classic functional interface with the newer objects interface.
Test your data science core skills in Python, including CSV and JSON file handling, pandas DataFrames, and NumPy arrays.
Test your DevOps with Python skills: running scripts, managing pip dependencies, GitHub Actions CI/CD, and logging in 16 questions.
Test your understanding of Python control flow: conditional statements, Boolean operators, for and while loops, break, continue, and nested loops.
Test what you know about the Model Context Protocol by reviewing MCP servers, clients, tools, resources, and prompts in Python.
Test your understanding of Python I/O and string formatting: input(), print(), stripping methods, the format mini-language, and f-strings.
Test your understanding of Python testing with unittest, pytest, mock, code quality tools, and CI with GitHub Actions in 20 questions.
Test your understanding of Python functions and scopes: parameters, arguments, return values, inner functions, namespaces, and the LEGB rule.
Test what you learned about Python file handling, pathlib, context managers, and reading or writing WAV files in this learning path wrap-up quiz.
Test your skills on Python virtual environments, pyenv version management, and choosing a great programming font for your dev setup.
Test your understanding of Pythonic code: the Zen of Python, PEP 8, code quality, type checking, and documentation in 20 questions.
Test your understanding of Python's built-in data structures: strings, lists, tuples, dictionaries, sets, sorting, and bytes in 20 questions.