Я вызываю функцию и передаю ей 3 параметра.Я принимаю каждый параметр один за другим и выполняю некоторые операции над этим.В конце я обхожу цикл, чтобы выполнить те же самые операции с остальными параметрами.
Предположим, проблема в следующем:
print "Starting the operations";
# calling the function say NetworkMode
NetworkMode(SONET,SDH,SDH-J) #This will perform certain steps
print "Ending of the test case"
Вывод, который я хочу получить, должен выглядеть следующим образом:
#Starting the operaions
#Whatever the output function will give using first parameter
#Ending the test case
#Starting the operaions
#Whatever the output function will give using second parameter
#Ending the test case
#Starting the operaions
#Whatever the output function will give using third parameter
#Ending the test case
Есть ли способ, которым я могу это сделать.