When using break in calculator it shows "syntax error:'break' outside loop " plz help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When using break in calculator it shows "syntax error:'break' outside loop " plz help

4th Nov 2016, 11:35 PM
Upender Gavani
Upender Gavani - avatar
3 Answers
0
It sounds like your break line is outside of your loop or like the interpreter is expecting a break but you haven't included one.
4th Nov 2016, 11:59 PM
Christopher Rees
Christopher Rees - avatar
0
what is that mean?
5th Nov 2016, 12:02 AM
Upender Gavani
Upender Gavani - avatar
0
check the intendation of break line maybe?
6th Nov 2016, 9:48 AM
Redstone Tehnik
Redstone Tehnik - avatar