Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

showing typle results with for loop in py in one line

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 , end="")
 
PREVIOUS NEXT
Tagged: #showing #typle #results #loop #py #line
ADD COMMENT
Topic
Name
7+4 =