Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Grok Learning Up The Downstair HELP ASAP?
I really can't figure it at all and I don't even know where to start. Please help me. The Challenge is below. Please explain what you did so I know what each block of code means

3 Answers
- 6 years agoFavorite Answer
I can't give you the exact coding, however I can explain how it can be implemented.
1. The first step is to always have _ _ , so the loop can be thus: if(n>0) print _ _
2. For the next steps but the last one, they are nothing but a | followed by a _ . So use a for loop for printing them (n-1)times.
3. For the last step, if you notice there are 2*n underscores followed by a |.
This should complete it. I haven't tried it, so if things don't end up as expected, comment here :) And if it does, vote my answer Best!
Source(s): Myself!