this pattern. i saw on google how to print this pattern in mirrored design but can't think any math to fit in those range funtion. where am i lacking? math or brain
I think you want j-1
then its like this
0123 0 # 1 ## 2 ### 3#### OR 0123 0 # 1 ## 2 ### 3 ####
no no. the numbers are just for knowing at what index the hash is
Right alignment string formatting, look for that in Google
You don't need nested loop. 2 seperate loops.. one for space another for #
Wait I think I am wrong
Yes I think I tried that
I think you'll need 2 loops inside a loop.. imma do it gimme 10 mins
Yes done
So fast
Fast.. it was slow Imo I had to go to do household work
Обсуждают сегодня