I'm getting an error as "expected an intended block" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm getting an error as "expected an intended block"

after the "while True: print*(" enter your choice ") at the * mark the pointer is placed as an error "expected an intended block " * mark is not the part of prog I used to show the pointer is blinking at that point when I compile.........

6th Dec 2016, 2:54 PM
Zameer shaikh
Zameer shaikh - avatar
4 Answers
+ 2
you have to make indentation after while while (x>0): print("this is indentation"); x++; y=x+1; print("this ends now");
6th Dec 2016, 6:50 PM
Sandeep Chatterjee
+ 1
pointer doesn't mean anything. were there spaces before print()? like so: while True: print("smth")
6th Dec 2016, 3:31 PM
aruluth
aruluth - avatar
0
? 😡
6th Dec 2016, 3:47 PM
Zameer shaikh
Zameer shaikh - avatar
0
okay.....👍
7th Dec 2016, 2:30 AM
Zameer shaikh
Zameer shaikh - avatar