Good Day, may i ask how can i stop my code running. I am using if else statement.
try:
A = "111111"
if A == "123456":
print('OK')
else:
print('NG')
if A == "111111":
print('OK')
else:
print('NG')
if output get OK my code will continue run the next step.
If output get NG how i can stop running my code to the
next step
try:
A = "111111"
if A == "123456":
print('OK')
else:
print('NG')
if A == "111111":
print('OK')
else:
print('NG')
if output get OK my code will continue run the next step.
If output get NG how i can stop running my code to the
next step