19 июля 2026
𝙼𝚊𝚡𝚡 ♠ ♠Hi guys I'm new here
Can anyone help me to guide learn python from basic
30 days of python github repo does.
I have one easiest solution for this exercise in 12th lesson, but it is not how we practice, so not recommended to cheat in your homework:
1)Call your function shuffle_list, it takes a list as a parameter and it returns a shuffled list.
def shuffle_list(param):
solution = set(param)
return_back_to_list = list(solution)
print(return_back_to_list)
new_list = ["apple", "banana", "peach"]
shuffle_list(new_list)
Why it works? because set shuffles your list and changing your set to list again will make your list shuffled.
Abdurahmon30 days of python github repo does.
Thanks for the suggestion I'll definitely check out the 30 Days of Python' repo. Let me know if you have any other tips for a beginner
𝙼𝚊𝚡𝚡 ♠ ♠Thanks for the suggestion I'll definitely check out the 30 Days of Python' repo. Let me know if you have any other tips for a beginner
Idk, I am also a beginner. Maybe check automate the boring stuff book. It is also free.