Generation

code to explanationMon, 10 Apr 2023

tuple1=("This","is",1,"book") for i in tuple1: print(i,end="\n")

The for-loop iterates over each element in the tuple and prints the element on the screen.

Want to kickstart your project?Use the new AI Studio to create your code