NIELIT O Level Exam

Which of the following is a Python tuple?

Which of the following is a Python tuple?

निम्नलिखित में से कौन एक Python tuple है?

A. [1, 2, 3]

B. (1, 2, 3)

C. {1, 2, 3}

D. {}




Correct Answer is :

B. (1, 2, 3)



Explanation
Tuples are represented with round brackets.
Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad