Quiz: Reading Input and Writing Output in Python
Test your Python basics: read user input with input(), display output with print(), and handle numeric conversions.
Curated development tutorials from top sources. Filter by language.
Test your Python basics: read user input with input(), display output with print(), and handle numeric conversions.
Learn how dictionaries in Python work: create and modify key-value pairs using dict literals, the dict() constructor, built-in methods, and operators.
Learn how the Factory Method pattern separates creation from use, promotes decoupling, and organizes Python products efficiently.
Learn how to use Loguru for simpler Python logging, from zero-config setup and custom formats to file rotation, retention, and adding context.
Test your knowledge of Loguru for Python logging, from zero-config setup and log levels to custom formats and adding context.
Test your Tkinter skills with this interactive challenge on widgets, layouts, event loops, and text/file handling in Python GUIs.
D-strings proposed to kill textwrap.dedent(), Python 3.15 alpha 7 ships lazy imports, GPT-5.4 launches, and Python Insider moves home.
Test your understanding of Python loops, iterables, and control flow with break, continue, and StopIteration.
Test your knowledge of Codex CLI, the AI-powered terminal tool for adding features to Python projects with natural language.
Test your understanding of Python classes, attributes, methods, properties, and the descriptor protocol.
Test your understanding of Python's Counter class from the collections module, including construction, counting, and multiset operations.
Learn how to define and use Python classes to implement object-oriented programming. Dive into attributes, methods, inheritance, and more.
Test your understanding of Python keywords, including the difference between regular and soft keywords, keyword categories, and common pitfalls.
Learn how to add Python to your PATH environment variable on Windows, macOS, and Linux so you can run Python from the command line.
Test your TDD skills with pytest. Practice writing unit tests, following pytest conventions, and measuring code coverage.
Learn how to use Ollama to run large language models locally. Install it, pull models, and start chatting from your terminal without needing API keys.
Test your Jupyter Notebook skills: cells, modes, shortcuts, Markdown, server tools, and exporting notebooks to HTML.
Test your Python REST API knowledge: consuming, building, HTTP methods, status codes, Flask, FastAPI, and Django basics.
With the mountains of Python code that it's possible to generate now, how's your code review going? What are the limitations of human review, and wher
Test your Django basics: frameworks, projects, views, templates, models, URLs, and migrations with practical questions.