This is part 7 of a series of python coding that I am having fun with and want to show others that are interested or stuck.
Code Example:
#Creating a for loop using tuples
#Create the tuple
mytuple = ("apple", "banana", "cherry")
for x in mytuple:
print(x)
#for loop for each letter in a word
mytuple = ("banana")
for x in mytuple:
print(x)
#python #pythonprogramming #pythontutorial #pythonforbeginners #shorts
Music: Paid Subscription with Wondershare Filmora
On this page of the site you can watch the video online Part 7 | Python Programming | Creating a for loop using tuples with a duration of hours minute second in good quality, which was uploaded by the user oOSylarTechOo 01 January 2023, share the link with friends and acquaintances, this video has already been watched 147 times on youtube and it was liked by 3 viewers. Enjoy your viewing!