Strings are a fundamental data type in Python, forming the building blocks for text manipulation and processing. However, it’s crucial to understand that strings in Python are immutable. This means that once a string is created, it cannot be modified in-place. Attempting to directly modify a string will result in the creation of a new string object. In this article, we’ll explore the concept of string immutability, shed light on its implications, and emphasize the importance of utilizing appropriate string manipulation methods.
Continue readingTag: change
One of the common things that you can notice in many tasks is the fact that you need to sort elements in a list. In fact, this can also be part of an interview that you may go through while applying for a job. Maybe not only sorting elements, but sorting elements fulfilling certain conditions.
Continue readingGit is one of the best tools that we use to save up our work throughout time and make it easier to collaborate with others and track the changes that have happened. Its usefulness is especially special when you realize the numerous functionalities that it has. One functionality that you may not be aware of is the ability to rename the author of a project.
In a recent email, the author of the book The Best Place to Work: The Art and Science of Creating an Extraordinary Workplace, Rod Friedman mentioned something very interesting. He told a story that happened to him and his daughter recently. A couple of days ago he went to the cinema with his daughter and although they had an unpleasant experience while watching the movie, they did not recall that particular story that way. They initially did not like the movie and considered it as not worth their time, but later on, as they were thinking a bit differently. They actually did change their opinion about the movie and thought that it was not that bad, and that it did deserve worth a watch. Rod considered this occurrence to happen as a result of our different selves that might change throughout different times. Continue reading
There are times in our lives when we will motivated and inspired to decide about something, but usually we do not follow through that decision. This is a clear sign of a self-sabotage type of behavior that we should not have it. If you do not possess this type of behavior, such that you are very committed to pursue and act according to your decision then you might not need to continue reading this article. I want to remind myself and to tell you about this insight that can have a considerable impact in your life: Whenever you decide about something, do not leave the scene of decision without taking an action about it. Continue reading
One of the best ways of changing yourself is by changing your behaviors. You are simply a sum of all the existing behaviors that you have, and whenever you are able to change them, you will be able to change yourself. Changing your behaviors can look like a complex task, but it should not be. There are a lot of suggestions and ways that are said to be effective to help you change. One of the most effective way of making the change very easy is by changing your environment. Continue reading
It is not secret that a lot of people wake up being tired, uninspired and afraid to face the world, because of a challenging project that they have to do, or a tiring report that they have to write for their boss. This way the alarm clock gets a usual knock down and the snooze button is exhausted of repeated presses that your finger does, while you are still having a dream of swimming with dolphins. Two hours later, you get into your job late and find an angry face of your boss pointing figures at you for the declining rate of the profits of the company. However, a simple habit could change your day. Continue reading