R

Ram Sharma • 193.86K Points
Coach

Q. What will be the output of following Python code?

Code:
set1={0,0,9}

print(set1)
  • (A) {0,0,9}
  • (B) {0,9}
  • (C) {9}
  • (D) It will throw an error as there are two 0 while creating the set
  • Correct Answer - Option(B)
  • Views: 101
  • Filed under category Python

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics