Studytonight
730 subscribers
96 photos
1 video
1 file
203 links
Best place to learn and Practise Coding. All for Free. https://www.studytonight.com/

Get the latest updates on:
✔️Latest Tutorials
✔️Trending Topics
✔️Courses
✔️And more!!
Download Telegram
Studytonight pinned «What Is Salesforce And How Will It Operate in 2022? https://www.studytonight.com/post/what-is-salesforce»
Studytonight pinned «What is Web Development? A Complete Guide https://www.studytonight.com/post/what-is-web-development-a-complete-guide»
Studytonight pinned «Top PHP Interview Questions & Answers https://www.studytonight.com/post/top-php-interview-questions-answers»
Studytonight pinned «Exponential Search https://www.studytonight.com/post/exponential-search»
Studytonight pinned «https://www.studytonight.com/post/fibonacci-number-sequence-in-python Fibonacci Number Sequence In Python»
Topic - Python

Consider the following code snippets -
book1 = {'nancy drew',12,1980}
book1.add('nancy drew')
print(book1)

book2 = {23,34,{'hardy boys'}}
print(book2)

book3 = {['famous five'],56,67}
print(book3)

Mark the correct output of the above.

A. Duplicate values not allowed error, unhashable type 'set', {['famous five'],56,67}
B. {'nancy drew',12,1980}, {23,34,{'hardy boys'}}, unhashable type 'list'
C. {'nancy drew',12,1980}, unhashable type 'set', unhashable type 'list'
D. Duplicate values not allowed error, unhashable type 'set', unhashable type 'list'

Find answer here:
https://www.studytonight.com/python/tests/13
Java Programs

This tutorial Set consists of Java Programs from beginner to advance levels. You will get Programs on several topics such as :

Array Programs
String Programs
Matrix Programs
Pattern and Formatting Programs, and many more.
Each Program is explained with a well suitable example and Algorithm so the reader can get a clear picture of the problem and solution.

https://www.studytonight.com/java-programs/