Question: Kindly help me Modify the algorithm in Section 6.3.3 and the code below so that it prints all positive values in a list, separated by
Kindly help me
Modify the algorithm in Section 6.3.3 and the code below so that it prints all positive values in a list, separated by commas. printpositives.py 1 values =[1,2,3,4] 2 for i in range(len(values)) : 3 if i>: 4 print(" | ", end=" ") 5 print(values[i], end=" ") 6 print()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
