first for loop return 5 times because we define n(number that you wanna print) as 5.That means we gonna print 5 lines of numbers.
second for loop print the number on each line.
third for loop give us the correct shape.on every line it prints some spaces for the correct shape.
we also decrement n by one.Think about first question and try to make sth.
**how to solve invalid keystore error in android studio here is error report----------------------->
here is error report--------> error:Error:java.lang.RuntimeException: com.android.ide.common.signing.KeytoolException: Failed to read key palash from store "D:\MyApplication3.idea\workspace.xml": Invalid keystore format ...