This is the second compilation of my python language learning. -Use the "\n" in a print command for next line printing eg1. print ("First line \nSecond line") give First line Second line It does not work with \n though. I get First line \nSecond line when I changed the slash direction. -Use the \t to create a tab. -\' and \" to show the ' or " without python thinking it is part of the open of a string and to use \\ to print a \. -Indentation. Python is really particular about indentation. A code within the IF ELSE loop have to be indented else it will run into errors. The good thing is usually this is reflected at the error message and can be easily rectified. -Iterative loop: For and While The for loop will run for a set "n" of times as long as the condition is satisfied but the while loop will run until the condition is satisfied. eg2. x = 0 for x in range(2,7): print(x) This will print 2,3,4,5,6 and stop at it has run throug
I hope to share with you my consolidated thoughts on a wide variety of topics here.