python program to unpack a tuple in several variables. display type of each variable

preview_player
Показать описание
Hello Programmers, Welcome to my Python Programming Tutorial Channel.

In this video you will learn about how to write a python program to unpack a tuple in several variables. display type of each variable

Python Scripts
========================

Python Functions Solved
========================

Python Programs Solved
========================

Python 3 Tutorial - Code
=============================
"""
write a python program to unpack a tuple in several variables. display type of each variable
"""

values = (10, "hello", 5.5555, None, False)

a, b, c, d, e = values

print(f"Type of {a} is {type(a)}")
print(f"Type of {b} is {type(b)}")
print(f"Type of {c} is {type(c)}")
print(f"Type of {d} is {type(d)}")
print(f"Type of {e} is {type(e)}")

Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners
Рекомендации по теме
join shbcf.ru