Python Break Break: It breaks the flow of control. Program: a=10 b=20 for i in range(a,b): if(i==15): break print(i) Output: 10 11 12 13 14 Share Get link Facebook X Pinterest Email Other Apps Share Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment