0

I need some help in Python

I tried making calculator using PYTHON on my PC and I used the break function but it didn't accept break as a function instead it suggested breakpoint as a function I really need some help in this! Can you suggest what should I do in this case By the way I use PyCharm as my IDE for python

27th Apr 2019, 12:57 AM
Harsh Tyagi
Harsh Tyagi - avatar
4 Answers
+ 3
break isn't callable like a function. You can't use break() while True: break() # wrong while True: break # correct
27th Apr 2019, 4:36 AM
Anna
Anna - avatar
+ 3
Please show your code
27th Apr 2019, 8:27 AM
Anna
Anna - avatar
0
Anna I wrote break not break() But still it didn't work!
27th Apr 2019, 8:27 AM
Harsh Tyagi
Harsh Tyagi - avatar