4 Uncommon Python Tricks You Should Learn
1. Multiple Assignment

When you want to give several variables the same values, you will often see code that repeats the assignment statement for each variable.

It may look something like the following code, which uses one separate assignment per variable:

a = 1

b = 1

c = 1

In Python, we can simplify this, and assign to every variable at once.

a = b = c = 1

# a == 1

# b == 1

# c == 1

After doing this, every variable was assigned to the right-most value in the chain. Since it just takes the right-most value, we can also replace 1 with a variable.
['Devin Soni']
['Programming', 'Coding', 'Software Engineering', 'Python', 'Technology']