top of page

PYTHON TIPS FOR PROGRAM TO AVOID IDENTANTION ERROR IN PA
1.There is no big difference between python 2 and 3 , only the difference are getting input and printing statement that already given in the question
​​
2.But u didn't confuse in main part because input type of int as int (input()) [python 3] and input type of str as raw_input() [python 2]
​
3.just write the main code without indentation at first and then give the indentation for all and it will work
​
4.I analysis the problem each get automatically extent the identation
After the whole code , u should check each line with identation (4 space )
​
​
Python tips for avoid error: About
bottom of page