Lakshya Tyagi Posted on Dec 2, 2020 What will be the result of following code? #python #quiz #beginners #challenge Python Daily Quiz (9 Part Series) 1 Which type of these is not a Core Data Type in Python? 2 Which method is used to return string in upper case? ... 5 more parts... 3 What will be the output of given code? 4 What will be the result of following code? 5 Correct syntax to output the type of variable or object? 6 Write the output of given python code. 7 What will be the output of given python code? 8 What will be the Output of given python code? 9 Which among them is used to create an object? >>> a = {1, 2, {3, 4}} >>> len(a) Enter fullscreen mode Exit fullscreen mode 3 4 error Write your answer in comment with explaination Top comments (5) Subscribe Submit Preview Dismiss Collapse Expand Mihail Malo Mihail Malo Mihail Malo Follow Joined Jul 11, 2018 • Dec 2 '20 Dropdown menu Copy link Hide Bad order of answers. "3" is ambiguous. error 4 3 would be much better Collapse Expand Lakshya Tyagi Lakshya Tyagi Lakshya Tyagi Follow Location Greater noida, India Joined Sep 1, 2020 • Dec 2 '20 Dropdown menu Copy link Hide Correct Collapse Expand Dibyadarshan Rath Dibyadarshan Rath Dibyadarshan Rath Follow I am a full time student at SOA UNIVERSITY, ODISHA, persuing my Bachelor's in Computer Science Engineering. Location Odisha, India Work Student Developer at SOA UNIVERSITY Joined Dec 3, 2020 • Dec 3 '20 Dropdown menu Copy link Hide 3 Collapse Expand Sambhav-Jindal-github Sambhav-Jindal-github Sambhav-Jindal-github Follow Location Jaito,Punjab Work I am a student. at self-employed Joined Nov 3, 2020 • Dec 8 '20 Dropdown menu Copy link Hide 3 Collapse Expand ProMikeCoder2020 ProMikeCoder2020 ProMikeCoder2020 Follow Addicted to programming. Love thinking about app ideas and putting them into practise Joined Oct 25, 2020 • Dec 9 '20 • Edited on Dec 9 • Edited Dropdown menu Copy link Hide A is parsed as set with three values: two integers and another set. Thus it gives a Len of 3 Code of Conduct • Report abuse
Top comments (5)
Bad order of answers. "3" is ambiguous.
would be much better
Correct
3
A is parsed as set with three values: two integers and another set. Thus it gives a Len of 3