Software engineering and personal development

Tag: program

How to Use Implicit Line Continuation in Python

Python’s implicit line continuation is a powerful feature that allows you to break long lines of code without the need for backslashes or explicit continuation characters.

By enclosing expressions within parentheses, brackets, or curly braces, Python recognizes the continuation and treats the code as a single logical line.

In this article, we will explore implicit line continuation and provide code examples to illustrate its usage and benefits.

Continue reading

How to Check Whether at Least One Value is True in Python

selective focus photography of white petaled flower
Photo by Katherine McCormack on Unsplash

In the previous article, we saw how to check whether all the values in an iterable object are True in Python.

In this article, we are going to see whether there is at least one condition that is satisfied in an iterable object in Python.

Let us suppose that we have the following list:

We want to see whether we have earned more than 4000 in at least 1 month.

Continue reading

Resources to get ideas for new small programming projects that you can work on

Img source: makeuseof.com

One of the best ways to learn something new is to apply what you are trying to learn, as you get to deepen the understanding and also retain the information for a longer period of time. Sometimes you need an idea for your first project, or simply an idea for your next side project that you want to work on in your free time, but you simply do not seem to have any idea. Maybe you are trying to learn a new framework, or a new concept and you want to apply it using your own implementation without relying on the implementations of the person that you are learning from. If that is the case, here are a few resources that I have just found that you can use to get inspired for a new project that you can work on.

Continue reading

© 2024 Fatos Morina

Theme by Anders NorenUp ↑