Python tutorials

Quiz: Using Dictionaries in Python

Interactive Quiz ⋅ 7 QuestionsBy Martin Breuss Share Do you remember how Python dictionaries work? In this quiz, you’ll revisit key concepts, such as accessing values, adding and removing entries, nesting dictionaries, and understanding valid key types. Brush up on these essentials with Using Dictionaries in Python before diving into the quiz. The quiz contains 7 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a […]

Read more

Exploring Python T-Strings

Python 3.14’s t-strings allow you to intercept and transform input values before assembling them into a final representation. Unlike f-strings, which produce a str object, t-strings resolve to a Template instance, allowing you to safely process and customize dynamic content. One of the key benefits of t-strings is their ability to help prevent security vulnerabilities like SQL injection and XSS attacks. They’re also valuable in other fields that rely on string templates, such as structured logging. By the end of […]

Read more

Quiz: Introduction to Web Scraping With Python

Interactive Quiz ⋅ 7 QuestionsBy Martin Breuss Share In this quiz, you’ll practice core concepts from Introduction to Web Scraping With Python. You’ll revisit what web scraping is, when to use Beautiful Soup, and how to install and configure your environment. You’ll also try out key syntax for creating BeautifulSoup objects, explore common HTML parsers, and check your understanding of tools like MechanicalSoup. The quiz contains 7 questions and there is no time limit. You’ll get 1 point for each […]

Read more

Quiz: Intro to Object-Oriented Programming (OOP) in Python

Interactive Quiz ⋅ 6 QuestionsBy Martin Breuss Share In this quiz, you’ll revisit the fundamentals of object-oriented programming (OOP) in Python and how to work with classes, objects, and constructors. The quiz contains 6 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck! Related Resources

Read more

Quiz: Build a Scalable Flask Web Project From Scratch

Interactive Quiz ⋅ 9 QuestionsBy Martin Breuss Share Are you ready to revisit the essentials of building Flask applications? In this quiz, you’ll practice Flask concepts such as views, blueprints, application factory patterns, and template usage. Check your understanding of Flask fundamentals by exploring concepts covered in the tutorial Build a Scalable Flask Web Project From Scratch. The quiz contains 9 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of […]

Read more

Quiz: Working With Python’s Built-in Exceptions

Interactive Quiz ⋅ 9 QuestionsBy Martin Breuss Share In this quiz, you’ll revisit Python’s built-in exceptions, exploring their hierarchy and how to handle them gracefully. You’ll practice distinguishing between errors and exceptions, using try…except blocks, and identifying specific exceptions like IndexError and GeneratorExit. Brush up your skills by reviewing the Working With Python’s Built-in Exceptions course before you start! The quiz contains 9 questions and there is no time limit. You’ll get 1 point for each correct answer. At the […]

Read more

Quiz: First Steps With LangChain

Interactive Quiz ⋅ 7 QuestionsBy Martin Breuss Share In this quiz, you can test your knowledge on the fundamentals of LangChain, such as creating reusable instructions with prompt templates, LangChain chains, and LangChain’s debug mode. The quiz contains 7 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck! Related Resources    

Read more

Quiz: Skip Ahead in Loops With Python’s Continue Keyword

Interactive Quiz ⋅ 10 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Python’s continue statement. The continue statement allows you to skip code in a loop for the current iteration, jumping immediately to the next iteration. It’s used exclusively in for and while loops, allowing you to control the flow of execution, bypass specific conditions, and continue processing in a structured and predictable manner. The quiz contains 10 questions and there is no time limit. You’ll […]

Read more

Quiz: Using the “or” Boolean Operator in Python

Interactive Quiz ⋅ 6 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of the Python or Operator. You’ll learn how to use it in both Boolean and non-Boolean contexts, and understand how it can be used to solve programming problems. The quiz contains 6 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck! […]

Read more

Quiz: Python Namespace Packages

Interactive Quiz ⋅ 7 QuestionsBy Martin Breuss Share In this quiz, you’ll practice your knowledge about Python’s namespace packages. What are they used for? How do you set up a namespace package? How could you create one before PEP 420? Complete this quick quiz to test your knowledge. The quiz contains 7 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum […]

Read more
1 2 3 4 5 6 199