Python Exercises (eBook)

This book contains 200 exercises and answers to learn the Python programming language. Programming is something you best learn by doing and that’s why exercises are a great way to learn the Python programming language. Python is a widely popular programmi… Read more

Similar

Python Control Statements

What’s interesting to do with booleans, and expressions that return a boolean in particular, is that we can make decisions and take different roads depending on their True or False value. In Python we do so using the if statement: condition = True if cond... (more…)

Read more »

Security vulnerability in str.format in Python

This should have been obvious to me for a longer time, but until earlier today I did not really realize the severity of the issues caused by str.format on untrusted user input. It came up as a way to bypass the Jinja2 Sandbox in a way that would permit r...

Read more »