Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

showing typle results with for loop in py

name_of_students = ("Jim" , "yeasin" , "Arafat")
print(name_of_students.index('Arafat'))
#adding for loop with tuple
for x in name_of_students:
    print(x)
 
PREVIOUS NEXT
Tagged: #showing #typle #results #loop #py
ADD COMMENT
Topic
Name
6+4 =