How will you create tuple with zero element and 1 element ?

Question :

How will you create tuple with zero element and 1 element ?

Zero element: To create a tuple with zero elements, use only a pair of parentheses  "()". For example,
# Zero element tuple
x = ()

One element: For a tuple with one element, use a trailing comma.
# One-element tuple
y = ( "Sunday" ,)


Latest Current Affairs 2025 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