0

Can someone help me with this program?

1 234 56789

28th Aug 2019, 12:18 PM
♡ holographic _heart ♡
♡ holographic _heart ♡ - avatar
3 Answers
+ 2
If you notice the pattern, it draws a sequence of numbers starting with just 1 number, then 3 numbers and followed by 5 numbers. All 1, 3 and 5 are odd numbers, so you start with printing 1 and step by 2 on each row. I suggest you to start by printing the sequence straight, then see to it that you can print limited amount of numbers (like 1, 3 and 5 numbers) on each row. I believe you can do this on your own, so give it a try. If you get stuck on something, share your code and the Community will help 👍
28th Aug 2019, 1:16 PM
Ipang
0
explain
28th Aug 2019, 1:12 PM
Cat Sauce
Cat Sauce - avatar
0
It's a python program. So can U help me print this: 1 234 56789
28th Aug 2019, 1:15 PM
♡ holographic _heart ♡
♡ holographic _heart ♡ - avatar