Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python online compiler

def func3(lst):
    tmpLst = []
    for i in range(len(lst)):
        if lst[i] % 3 == 0:
            tmpLst.append(i//3)
        else:
            tmpLst.append(i)
        return tmpLst
 
PREVIOUS NEXT
Tagged: #python #online #compiler
ADD COMMENT
Topic
Name
9+8 =