June 2017
Beginner
352 pages
8h 39m
English
We can concatenate tuples using the plus operator:
>>> t + (338186.0, 265E9)('Norway', 4.953, 3, 338186.0, 265000000000.0)
Similarly, we can repeat them using the multiplication operator:
>>> t * 3('Norway', 4.953, 3, 'Norway', 4.953, 3, 'Norway', 4.953, 3)
Read now
Unlock full access