The error is in the set.add((1,2,3)) line. The add method of a set requires exactly one argument, but you are passing a tuple (1,2,3) as an argument. To fix this, you can add each individual element of the tuple to the set using the add method separately, or you can use the update method to add all the elements of the tuple to the set at once.
Thanks for the hardwork. I know it takes time to research and edit this video. But just be as fast as you can. I hope you treat for and while loops after this set. I can’t wait.
Use the playback speed button to adjust the speed to your like ,,,, she is teaching this for everyone to understand properly including people who know nothing about programming,,,I don't think she is slow ,,she is actually very great.
Hi mam, using update function we can add the list in set function eg) a={1,2,3,4,5,6} a.update([10,30,40]) OUTPUT: 1 2 3 4 6 5 10 20 40 .....if this is correct or wrong......................
if u try to add list to given set using update method, then it will add only list values you can't add whole list cause we can't add mutable inside set......
Hii JENNY ❤ You are back...and I am back..... Do you have any magnetic power in your eyes?🙃 They are attracting me and taking me to another universe. And remember I love you in any Universe❤ VISWA❤JENNY