python code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

python code

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 how to code it in python ?

13th Dec 2022, 1:29 PM
APURV TRIPATHI
2 Answers
+ 2
Learn loops. Then try it yourself first. If not get then post your attempt here...
13th Dec 2022, 1:39 PM
Jayakrishna 🇮🇳
0
I do not encourage lazyness but since it's a hard concept, I am gonna give you some intel. What you want to achieve is called Print Pattern, I am sure if you knew the exact keywords you would found it in the web already. In many times, if you don't know the exact name of what you are searching for, it will be like searching a needle in the sea. Here's great tutorial about Print Patterns https://easycodebook.com/2021/05/JUMP_LINK__&&__python__&&__JUMP_LINK-print-star-pattern-shapes-programs/ The author is printing stars so try to understand the logic to print consecutive numbers instead 😉 and share your code in SoloLearn.
13th Dec 2022, 6:25 PM
iTech
iTech - avatar