0
how does one indent in this program. after a colon isn't working.
4 Answers
+ 2
Show your code.
+ 2
This is from the interpreter so ignore the >>>.
There are 4 spaces before the print, none before the other lines.
>>> marks =90
>>> if marks >80 and marks <= 100:
... print ('A')
...
A
0
marks =90
if marks >80 and marks <= 100:
print ('A')
0
int marks = 90;
if (marks > 80 && marks <= 100) {
print('A')
}