Tuple Construction in Python using parenthesis

A tuple can be constructed by specifying values of the elements inside parenthesis.

Example:

SolarPlanets   = ("Mercury","Venus","Earth","Mars","Jupiter","Saturn","Uranus","Neptune")
NobleGases    = ("Helium", "Argon", "Neon", "Xenon", "Krypton", "Radon")


Copyright 2024 © pythontic.com