studnetNames=["adnan","mohammad","ahmed","sultan","john","omar"]
studentMarks=[90,45,66,70,59,60]
for i in range(0,6):
if studentMarks[i]<60:
continue
print("student name: ",studnetNames[i],"------- student mark: ",studentMarks[i])
without using contine statement:
studnetNames=["adnan","mohammad","ahmed","sultan","john","omar"]
studentMarks=[90,45,66,70,59,60]
for i in range(0,6):
if studentMarks[i]>=60:
print("student name: ",studnetNames[i],"------- student mark: ",studentMarks[i])
using contine statement:
without using contine statement:
need an explanation for this answer? contact us directly to get an explanation for this answer