Python For Loop Using iterate over the list of String with range and len function


Python For Loop using the iterate over the list of String with range and len function

Program
# List of String String = ['Mon', 'Tue', 'Wednes', 'Thurs', 'Fri', 'Satur', 'Sun'] # iterate over the list of String with range and len function for val in range(len(String)): print(String[val]+"day")
Input
Output