0

How to print hastags in rows as if row 1 1# row2 2#..........

1st Aug 2018, 11:04 AM
Chintala Venkatesh
8 ответов
+ 3
I just started learning programming from python from last 5 days so please answer in python
1st Aug 2018, 11:13 AM
Chintala Venkatesh
+ 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.
1st Aug 2018, 11:28 AM
StealthyTaco
StealthyTaco - avatar
+ 2
You mean like this? # ## ###
1st Aug 2018, 11:06 AM
J.G.
J.G. - avatar
+ 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
1st Aug 2018, 11:10 AM
J.G.
J.G. - avatar
+ 2
thank u for your advice
1st Aug 2018, 11:29 AM
Chintala Venkatesh
+ 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
1st Aug 2018, 1:12 PM
hinanawi
hinanawi - avatar
+ 1
yes the same way in python
1st Aug 2018, 11:07 AM
Chintala Venkatesh
+ 1
thank u hinanawi
1st Aug 2018, 1:35 PM
Chintala Venkatesh