Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

#adding for loop with tuple and having space

name_of_students = ("Jim" , "yeasin" , "Arafat")
print(name_of_students.index('Arafat'))
#adding for loop with tuple and having space
for x in name_of_students:
    print(x , end=" ")
 #after end statement you give space between the commas to have space
 
PREVIOUS NEXT
Tagged: #loop #tuple #space
ADD COMMENT
Topic
Name
4+3 =