Horje
start index from 1 in python Code Example
start index from 1 in python
days = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]
for index,day in enumerate(days):
    #this will convert index starting from 0 to 1
    if index >= 0: index += 1
    print(index, day)




Python

Related
how to download excel file from s3 using python Code Example how to download excel file from s3 using python Code Example
python how to copy a 2d array leaving out last column Code Example python how to copy a 2d array leaving out last column Code Example
plot python x axis range Code Example plot python x axis range Code Example
how to get location of word in list in python Code Example how to get location of word in list in python Code Example
read csv uisng pandas Code Example read csv uisng pandas Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7