+ 1

What is the advantage of Tuple

I try to understand some new coding concepts. I have a list of measured value's and the times these value are measured. Since this is a really small data structure, I wanted to try tuples When would you use a tuple and when would you use a regular object ? I like the way of make a class and have object, but I am wondering whether tuple would be more efficient ? https://code.sololearn.com/cLDNy6MfUQj1

3rd Jun 2019, 7:24 PM
sneeze
sneeze - avatar
1 Antwort
5th Jun 2019, 4:19 PM
Kurumi YT
Kurumi YT - avatar