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 2023 © pythontic.com