Robuta

https://realpython.com/quizzes/f-strings/
In this quiz, you'll test your knowledge of Python f-strings. With this knowledge, you'll be able to include all sorts of Python expressions inside...
pythonfstringsquizreal
https://realpython.com/quizzes/python-data-classes/
In this quiz, you'll test your understanding of Python data classes. Data classes, a feature introduced in Python 3.7, are a type of class mainly used for...
python quizdataclassesreal
https://realpython.com/quizzes/readme-python-project/
Take this quiz to test your understanding of how a great README file can make your Python project stand out and how to create your own README files.
creatinggreatreadmefilespython
https://realpython.com/quizzes/python-namespace-package/
Practice your knowledge about namespace packages in Python. Revisit managing multiple packages without an __init__.py file.
pythonnamespacepackagesquizreal
https://realpython.com/quizzes/model-view-controller-mvc-python-web-apps-lego/
In this quiz, you'll test your understanding of the Model-View-Controller (MVC) design pattern, a fundamental concept in many Python web frameworks. By...
web appsmodelviewcontrollermvc
https://realpython.com/quizzes/numpy-where-conditional-expressions/
This quiz aims to test your understanding of the np.where() function. You won't find all the answers in the tutorial, so you'll need to do additional...
useconditionalexpressionsnumpyquiz
https://realpython.com/quizzes/remove-item-from-list-python/
In this quiz, you'll test your understanding of removing items from lists in Python. This is a fundamental skill in Python programming, and mastering it...
remove itemspython quizlists
https://realpython.com/quizzes/syntactic-sugar-python/
You can take this quiz to test your understanding of Python's most common pieces of syntactic sugar and how they make your code more Pythonic and readable.
sugarpythonsweetquiz
https://realpython.com/quizzes/python-calendar-module/
In this quiz, you'll test your understanding of the calendar module in Python. It'll evaluate your proficiency in manipulating, customizing, and...
pythoncalendarmodulequizreal
https://realpython.com/quizzes/python-folium/
Python’s Folium library gives you access to the mapping strengths of the Leaflet JavaScript library through a Python API. It allows you to create interactive...
pythoncreatewebmapsdata
https://realpython.com/quizzes/introducing-duckdb/
This quiz will challenge your knowledge of working with DuckDB. You won't find all the answers in the tutorial, so you'll need to do some extra...
introducingduckdbquizrealpython
https://realpython.com/quizzes/python-operators-expressions/
Test your understanding of Python operators and expressions.
pythonoperatorsexpressionsquizreal
https://driscollis.gumroad.com/l/pyquiz
python quizbook
https://realpython.com/quizzes/python-basics-functions-and-loops/
Functions break code into smaller chunks and are great for defining actions that a program will execute several times throughout your code. Instead of writing...
pythonbasicsfunctionsloopsquiz
https://realpython.com/quizzes/python-threading/
This is a quiz that will review topics covered in our An Intro To Threading tutorial.
pythonthreadingquizreal
https://realpython.com/quizzes/debug-python-errors/
Take this quiz to review core Python debugging techniques like reading tracebacks, using print(), and setting breakpoints to find and fix errors.
debugcommonpythonerrorsquiz
https://realpython.com/quizzes/instance-class-and-static-methods-demystified/
In this quiz, you'll test your understanding of instance, class, and static methods in Python. By working through this quiz, you'll revisit the...
pythoninstanceclassstaticmethods
https://realpython.com/quizzes/deep-vs-shallow-copies/
Test your understanding of deep and shallow copying in Python. Review assignment, identity, and how to copy complex objects correctly.
python quizdeepvsshallowcopies
https://realpython.com/quizzes/python-name-main-idiom/
Test your knowledge of Python's if __name__ == "__main__" idiom by answering a series of questions! You've probably encountered the...
pythonnamemainidiomquiz
https://realpython.com/quizzes/marimo-notebook/
This quiz is a great way to reinforce and build on what you've learned about marimo notebooks. You'll find most of the answers in the tutorial, but...
marimoreactivereproduciblenotebookquiz
https://realpython.com/quizzes/python-expression-vs-statement/
In this quiz, you'll test your understanding of Python expressions vs statements. Knowing the difference between these two is crucial for writing...
expressionvsstatementpythondifference
https://realpython.com/quizzes/python314-new-features/
In this quiz, you'll test your understanding of the new features introduced in Python 3.14. By working through this quiz, you'll review the key...
new featurespythoncooltry
https://realpython.com/quizzes/profiling-performance/
Test your knowledge of Python profiling and performance tools. Practice identifying bottlenecks and using profilers like cProfile and timeit.
python quizprofilingperformancereal
https://realpython.com/quizzes/python-control-flow/
In this quiz, you'll test your understanding of Python control flow structures, which include conditionals, loops, exception handling, and structural...
control flowpython quizstructuresreal
https://realpython.com/quizzes/generators-and-yield-in-python/
In this quiz, you'll test your understanding of Python generators and the yield statement. With this knowledge, you'll be able to work with large...
python quizusegeneratorsyield
https://realpython.com/quizzes/python-variables/
In this quiz, you'll test your understanding of variables in Python. Variables are symbolic names that refer to objects or values stored in your...
best practicesvariablespythonusagequiz
https://realpython.com/quizzes/python-basics-file-system-operations/
The pathlib module allows you to carry out file path operations with Python. These operations include creating, iterating over, searching for, moving, and...
file systempythonbasicsoperationsquiz
https://realpython.com/quizzes/python-set-comprehension/
In this quiz, you'll test your understanding of Python set comprehensions. Set comprehensions are a concise and quick way to create, transform, and filter...
pythonsetusequiz
https://realpython.com/quizzes/python-type-checking/
In this quiz, you'll test your understanding of Python type checking. You'll revisit concepts such as type annotations, type hints, adding static...
pythontypecheckingquizreal
https://realpython.com/quizzes/python-enumerate/
Once you learn about for loops in Python, you know that using an index to access items in a sequence isn't very Pythonic. So what do you do when you need...
pythonquizreal
https://realpython.com/quizzes/python-exceptions/
In this quiz, you'll test your understanding of Python exceptions. You'll cover the difference between syntax errors and exceptions and learn how to...
pythonexceptionsintroductionquizreal
https://realpython.com/quizzes/exploring-t-strings/
Explore Python's t-strings, including their syntax, use cases, and differences from f-strings and older approaches.
exploringpythonstringsquizreal
https://realpython.com/quizzes/fastapi-python-web-apis/
Practice FastAPI basics with path parameters, request bodies, async endpoints, and CORS. Build confidence to design and test simple Python web APIs.
close lookexample applicationfastapiquiz
https://realpython.com/quizzes/python-split-string/
In this quiz, you'll test your understanding of Python's .split() method. This method is useful for text-processing and data parsing tasks, allowing...
python quizsplitstringreal
https://realpython.com/quizzes/python-sequences/
In this quiz, you'll test your understanding of sequences in Python. You'll revisit the basic characteristics of a sequence, operations common to...
comprehensive guidepythonsequencesquizreal
https://realpython.com/quizzes/python-built-in-functions/
Take this quiz to test your knowledge about the available built-in functions in Python. By taking this quiz, you'll deepen your understanding of how to...
pythonbuiltfunctionscompleteexploration
https://realpython.com/quizzes/python-rounding/
Test your knowledge of rounding numbers in Python.
python quizroundingnumbersreal
https://realpython.com/quizzes/python-pipx/
In this quiz, you'll test your understanding of how Python apps are run from isolated virtual environments using the pipx tool. With this knowledge,...
python applicationsinstallexecuteusingquiz
https://realpython.com/quizzes/python-namedtuple/
In this quiz, you'll test your understanding of Python's namedtuple() factory function from the collections module.
clean codewritequizreal
https://realpython.com/quizzes/python-script-structure/
In this quiz, you'll test your understanding of organizing and structuring Python scripts. You'll revisit key concepts about best practices for...
python scriptstructurequizreal
https://realpython.com/quizzes/python-mcp-client/
Learn how to create a Python MCP client, start an AI-powered chat session, and run it from the command line. Check your understanding.
mcp clientbuildpythontestservers
https://realpython.com/quizzes/sorting-dictionaries-keys-values-more/
Test your skills in sorting Python dictionaries by keys and values. Learn about insertion order, dictionary views, and sorting techniques.
sortingdictionariespythonkeysvalues
https://realpython.com/quizzes/python-basics-first-program/
With Python installed, you're ready ready to start coding! It's time to write your first Python program.
first programpythonbasicscodequiz
https://realpython.com/quizzes/python-mock-library/
In this quiz, you'll test your understanding of Python's unittest.mock library. With this knowledge, you'll be able to write robust tests,...
understandingpythonmockobjectlibrary
https://realpython.com/quizzes/python-magic-methods/
In this quiz, you'll test your understanding of Python's magic methods. These special methods are fundamental to object-oriented programming in...
pythonmagicmethodsleveragepower
https://realpython.com/quizzes/python-bytes/
In this quiz, you'll test your understanding of Python bytes objects. By working through this quiz, you'll revisit the key concepts related to this...
python bytesquizreal
https://realpython.com/quizzes/how-to-deal-with-missing-data-in-polars/
This quiz will test your knowledge of working with null data in Polars. You won't find all the answers in the tutorial, so you'll need to do some...
dealmissingdatapolarsquiz
https://realpython.com/quizzes/run-python-scripts/
One of the most important skills you need to build as a Python developer is to be able to run Python scripts and code. Test your understanding on how good you...
python scriptsrunquizreal
https://realpython.com/quizzes/python-annotations/
Test your knowledge of annotations and type hints, including how different Python versions evaluate them at runtime.
pythonannotationsquizreal
https://realpython.com/quizzes/python-class-constructor/
In this quiz, you'll test your understanding of class constructors in Python. By working through this quiz, you'll revisit the internal instantiation...
pythonclassconstructorscontrolobject
https://realpython.com/quizzes/python-json/
In this quiz, you'll test your understanding of working with JSON in Python. By working through this quiz, you'll revisit key concepts related to...
json datapython quizworkingreal
https://realpython.com/quizzes/python-pydantic/
In this quiz, you'll test your understanding of Pydantic, a powerful data validation library for Python. You'll revisit concepts such as working with...
data validationpython quizpydanticreal
https://realpython.com/quizzes/modern-python-linting-ruff/
Test your Ruff skills in a quick quiz. Practice installation checks, continuous linting, formatting, rule selection, auto-fixes, and config.
modernpythonlintingruffquiz
https://www.geeksforgeeks.org/python/python-quizzes/
Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and...
python quizgeeksforgeeks
https://realpython.com/quizzes/python-concurrency/
In this quiz, you'll test your understanding of Python concurrency. You'll revisit the different forms of concurrency in Python, how to implement...
pythonconcurrencyquizreal
https://realpython.com/quizzes/list-comprehension-python/
In this quiz, you'll test your understanding of Python list comprehensions. You'll revisit how to rewrite loops as list comprehensions, how to choose...
python quizuselistcomprehension
https://realpython.com/quizzes/python-thread-lock/
In this quiz, you'll test your understanding of Python thread safety. You'll revisit the concepts of race conditions, locks, and other...
pythonthreadsafetyusinglock
https://realpython.com/quizzes/python-mixin/
Test your knowledge of Python mixins—specialized classes that let you reuse methods without traditional inheritance.
python quizmixinclassesreal
https://realpython.com/quizzes/python-repl-autocompletion-highlighting/
Take this quiz to explore Python 3.14's REPL upgrades! Test your knowledge of new autocompletion tools and built-in syntax highlighting.
pythonpreviewreplautocompletionhighlighting
https://realpython.com/quizzes/defining-and-calling-functions/
Practice defining and calling functions in Python, including parameters, argument types, default values, and function documentation.
python functionsdefiningcallingquizreal
https://realpython.com/quizzes/python-pep8/
In this quiz, you'll test your understanding of PEP 8, the Python Enhancement Proposal that provides guidelines and best practices on how to write Python...
writebeautifulpythoncodepep
https://realpython.com/quizzes/python-init-py/
Test your understanding of Python's __init__.py files to master how they shape your packages, enhance project structure, and keep your code clean.
pythoninitquiz
https://realpython.com/quizzes/python-basics-conditional-logic-and-control-flow/
With conditional logic, you can write programs that perform different actions based on different conditions. Paired with functions and loops, conditional logic...
conditional logiccontrol flowpythonbasicsquiz
https://realpython.com/quizzes/the-python-return-statement/
In this quiz, you can practice your understanding of how to use the Python return statement when writing functions. Additionally, you'll cover some good...
pythonreturnstatementquizreal
https://realpython.com/quizzes/python313-free-threading-jit/
In this quiz, you'll test your understanding of the new features in Python 3.13. You'll revisit how to compile a custom Python build, disable the...
pythonfreethreadingjitcompiler
https://realpython.com/quizzes/what-can-i-do-with-python/
Test your knowledge of what Python can and can't do, from web and GUI apps to data science, CLI tools, and embedded systems.
python quizreal
https://realpython.com/quizzes/working-dict-attributes/
Practice how Python's .__dict__ attribute works for classes, instances, and functions, and when mappingproxy and __slots__ come into play.
workingpythondictattributequiz
https://realpython.com/quizzes/python-join-string/
Test your understanding of Python's .join() string method for combining strings, handling edge cases, and optimizing performance.
python quizjoinstringsreal
https://realpython.com/quizzes/python-namespace/
In this quiz, you'll test your understanding of Python namespaces. These concepts are crucial for organizing the symbolic names assigned to objects in a...
python quiznamespacesreal
https://realpython.com/quizzes/python-mcp/
Test your knowledge of Python MCP. Practice installation, tools, resources, transports, and how LLMs interact with MCP servers.
mcp serverpythonconnectllmsdata
https://realpython.com/quizzes/python-basics-scopes/
To fully understand functions and loops in Python, you need to be familiar with the issue of scope, which determines where a name is visible within your...
pythonbasicsscopesquizreal
https://realpython.com/quizzes/python-mappings/
In this quiz, you'll test your understanding of the basic characteristics and operations of Python mappings. By working through this quiz, you'll...
pythonmappingsquizreal
https://realpython.com/quizzes/documenting-python-code/
In this quiz, you'll test your understanding of documenting Python code. With this knowledge, you'll be able to effectively document your Python...
complete guidedocumentingpythoncodequiz
https://realpython.com/quizzes/python-gui-programming-with-tkinter/
In this quiz, you'll test your understanding of Python GUI Programming With Tkinter, the de facto Python GUI framework. Check your knowledge of GUI...
pythonguiprogrammingquizreal
https://realpython.com/quizzes/python-basics-find-fix-code-bugs/
Logic errors occur when an otherwise valid program doesn't do what was intended. They cause unexpected behaviors called bugs. Removing bugs is called...
pythonbasicsfindingfixingcode
https://realpython.com/quizzes/build-llm-rag-chatbot-with-langchain/
In this quiz, you'll test your understanding of building a retrieval-augmented generation (RAG) chatbot using LangChain and Neo4j. This knowledge will...
buildllmragchatbotlangchain
https://realpython.com/quizzes/python-break/
In this quiz, you'll test your understanding of the Python break statement. This keyword allows you to exit a loop prematurely, transferring control to...
exitloopsearlypythonbreak
https://realpython.com/quizzes/python-lambda/
Python lambdas are little, anonymous functions, subject to a more restrictive but more concise syntax than regular Python functions. Test your understanding on...
pythonlambdafunctionsquizreal
https://realpython.com/quizzes/python-basics-dictionaries/
Python dictionaries, like lists and tuples, store a collection of objects. However, instead of storing objects in a sequence, dictionaries hold information in...
pythonbasicsdictionariesquizreal
https://realpython.com/quizzes/numpy-example/
This quiz will test your understanding of working with NumPy arrays. You won't find all the answers in the tutorial, so you'll need to do some extra...
numpypracticalexamplesusefultechniques
https://realpython.com/quizzes/socket-programming-in-python/
In this quiz, you'll test your understanding of Python sockets. With this knowledge, you'll be able to create your own client-server applications,...
python quizsocketprogrammingreal
https://realpython.com/quizzes/strip-characters-from-string/
Test your Python skills on removing characters from strings using strip, lstrip, and rstrip. Practice default behavior, custom chars, and more.
python stringstripcharactersquizreal
https://realpython.com/quizzes/python-django-blog/
In this quiz, you'll test your understanding of building a Django blog back end and a Vue front end, using GraphQL to communicate between them. This will...
using djangobuildbloggraphqlvue
https://realpython.com/quizzes/python-print-guide/
In this quiz, you'll test your understanding of Python's built-in print() function, covering how to format output, specify custom separators, and...
pythonprintfunctionquizreal
https://realpython.com/quizzes/python-super/
In this quiz, you'll test your understanding of inheritance and the super() function in Python. By working through this quiz, you'll revisit the...
superchargeclassespythonquizreal
https://realpython.com/quizzes/working-builtin-exceptions/
Test your knowledge of Python's built-in exceptions by answering interactive questions. Learn effective error handling techniques.
workingpythonbuiltexceptionsquiz
https://realpython.com/quizzes/python-args-and-kwargs/
In this quiz, you'll test your understanding of how to use *args and **kwargs in Python. With this knowledge, you'll be able to add more flexibility...
pythonquizreal
https://realpython.com/quizzes/format-floats-within-f-strings/
In this quiz, you'll test your understanding of how to format floats within f-strings in Python. This knowledge will let you control the precision and...
formatfloatswithinstringsquiz
https://realpython.com/quizzes/uv-vs-pip/
Test your knowledge of uv vs pip as Python package managers and learn how to pick the right tool for speed, reproducibility, and compatibility.
managing pythonuvvspippackages
https://realpython.com/quizzes/python-protocol/
Take this quiz to test your understanding of how to create and use Python protocols while providing type hints for your functions, variables, classes, and...
pythonprotocolsleveragingstructuralquiz
https://realpython.com/quizzes/python-code-quality/
In this quiz, you'll test your understanding of Python code quality, tools, and best practices. By working through this quiz, you'll revisit the...
code qualitybest practicespythontoolsquiz
https://realpython.com/quizzes/python-or-operator/
Practice using the python or operator to evaluate conditions, set default values, and simplify branching. Take the quick quiz to learn.
python quizusingquotbooleanoperator
https://realpython.com/quizzes/python-keywords/
In this quiz, you'll test your understanding of Python keywords and soft keywords. These reserved words have specific functions and restrictions in...
pythonkeywordsintroductionquizreal
https://realpython.com/quizzes/get-started-with-fastapi/
This hands-on quiz will test your knowledge of FastAPI basics, from installation and endpoints to automatic JSON responses and Swagger UI.
get startedfastapiquizrealpython
https://www.w3schools.com/python/python_quiz.asp
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML...
python quiz
https://realpython.com/quizzes/fastapi-jinja2-template/
Review how to build dynamic websites with FastAPI and Jinja2, and serve HTML, CSS, and JS with HTMLResponse and StaticFiles.
servewebsitefastapiusinghtml
https://realpython.com/quizzes/python-functional-programming/
In this quiz, you'll test your understanding of functional programming in Python. You'll revisit concepts such as functions being first-class...
functional programmingpythonuse
https://www.blog.pythonlibrary.org/books/the-python-quiz-book/
Nov 7, 2022 - Quizzes are a fun way to test your knowledge of something.  They make you think. The Python Quiz Book is all about brain teasers for the Python programming...
python quizbookmousevs
https://realpython.com/quizzes/python-classes-oop/
In this quiz, you'll test your understanding of Python classes. With this knowledge, you'll be able to define reusable pieces of code that...
object oriented programmingpython classespowerquiz
https://realpython.com/quizzes/get-started-with-django/
In this quiz, you'll test your understanding of Django, a fully featured Python web framework. By working through this quiz, you'll revisit the steps...
get starteddjangobuildportfolioapp