0
How to print hastags in rows as if row 1 1# row2 2#..........
8 Answers
+ 3
I just started learning programming from python from last 5 days
so please answer in python
+ 3
the best thing you can do is give it your best to learn it yourself before asking the community im unfamiliar with python but im sure a look under the loops or control structures of the python tutorial will get you on the right path, you need a loop and a print function and some variables to count your iterations and increase the number of tags placed. im being general because it will be significantly more beneficial for you to try and learn this yourself.
+ 2
You mean like this?
#
##
###
+ 2
Here is a code in c++ very similar. see if you can figure it out from that.
https://code.sololearn.com/ccsfLs1Qki2L/?ref=app
+ 2
thank u for your advice
+ 2
in python this is easy as you can multiply strings
input the number of rows in the code below and see how it works
https://code.sololearn.com/c5ZxXS8k96Kl/?ref=app
+ 1
yes the same way in python
+ 1
thank u hinanawi