What is the purpose of creating empty tuple | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the purpose of creating empty tuple

Hi, I just find out that i can't assign new value to a tuple So why we create an empty tuple in the first place?

7th Dec 2018, 12:35 PM
Mohamed KOUBAA
Mohamed KOUBAA - avatar
1 Answer
+ 2
There are times that there isn't anything to put into the tuple. This gives an example and more details: https://stackoverflow.com/questions/4828041
7th Dec 2018, 9:03 PM
John Wells
John Wells - avatar