I am a beginner in python can anyone say why if statement is not working
@dineshsubramani you need to indent your code after the “:”
1 Like
num = IN[0]
the line after if , use 4 spaces and start
1 Like
Thank a lot khuzaimah
1 Like
You should have an indent / Tab in the next line of IF
1 Like
Learn more about…Python If statement
1 Like