Shaharyar Javed Ranjah
Shaharyar Javed Ranjah
@shaharyarranjah1

Day 1: Swap two variables in one line Day 1/30: Swap two variables in one line 🐍 Beginners reach for a temp…

Day 1: Swap two variables in one line Day 1/30: Swap two variables in one line 🐍 Beginners reach for a temp variable. Python packs the right side into a tuple It unpacks into a and b together No temp variable needed Save this for later 💾 and follow @shaharyarranjah1 for daily Python, ML and AI tips. #python #pythontips #pythonprogramming #learnpython #coding #programming #developer #codingtips #pythondeveloper #100daysofcode #datascience #machinelearning
Day 1: Swap two variables in one line Day 1/30: Swap two variables in one line…
0 likes0 comments0 shares