Epython Lab
6.41K subscribers
665 photos
31 videos
104 files
1.23K links
Welcome to Epython Lab, where you can get resources to learn, one-on-one trainings on machine learning, business analytics, and Python, and solutions for business problems.

Buy ads: https://telega.io/c/epythonlab
Download Telegram
One more #question_by_another_user
#Q: "What is the d/nce b/n Machine learning and Data science ...?"
#CODE_CHALLENGE_3 #LIST #SWAP_TWO_NUMBERS


#Q: The next iteration of Asibeh Tenager will feature an extra-infuriating new item, the Purple Shell. When used, it warps the last place racer into first place and the first place racer into last place. Write a python function purple_shell and implement the Purple Shell's effect.

Note: Given a list of racers, set the first place racer (at the front of the list) to last
place and vice versa.
N.B: use swap mechanism

given list: racers = ["Asibeh", "Naol", "Obang"]
output list = ["Obang", "Naol", "Asibeh"]
Post
your solution at @pythonethbot