+ 1
How to Print this pattern (easy one but i m noob)
Use only for loop( for Loop only using range()): Pattern: 12345 2345 345 45 5
18 odpowiedzi
0
Finally after working hard i Got what i needed i Made this pattern ... see guys If u cant Abled to answer my question...i prepared it by myself...PEACE FOR LIFE🙏...TY
https://code.sololearn.com/c3OweGH6IgFA/?ref=app
+ 6
see mate solo learn is platform for Every coders to learn and grow ... and it provides solution to this also so why i cant ask for what I needed instead of what i got?...and yeah Report Me my friend i would appreciate it..
+ 3
why not make lessons or assignments about this?well nice,"Why" you shouldn't just ask people to delete posts he's a newbie,hes presenting a solution and I don't think it's against anything,well I'm just saying
+ 3
Pls let just stop Here ... we surely Don't wanna argue...just relax chill and Can anyone give me my solution?.......PEACE 🙏
+ 2
sorry was afk.
i = 0
max = 6
min = 1
while i < 5:
for n in range(min,max):
print(n, end="")
i += 1
print('\n')
min += 1
+ 2
+ 1
Emmey not like this my friend without Any list or sets...only with fors... like this
n=5
for i in range(logic):
for j in range(logic):
print pattern;
newline:
thats it
+ 1
umm Bro I would Appreciate it But The thing is I want Pattern in only for loop Nothing else no matter how many for loop u use i just need my pattern in this way thats it🙏😅
+ 1
The confusion here was that I deleted my answer because a list cant be used so, @Why thought @Kaival was answering his own question.
+ 1
can any1 answer my question in this sololearn universe?nobody is there ?...
+ 1
nope just change while to for i in range(5) and no need to increment i then. Its not hopeless. Did you want me to actually give you your code? You won't learn anything that way. The answer I gave you should be adequate for you to figure it out from there.
+ 1
hey i made an another pattern how is it>??
https://code.sololearn.com/cO2rQY8b41C1/#py
0
kaival can I use an array?
0
now i m loosing my hope .... Ty EMMEY for such efforts...but i don't think anyone could Help me in this i m repeating last time I NEED THIS PATTERN IN ONLY IN FOR LOOPS NOTHING ELSE NO LIST NO WHILE....ty
0
ok ty for efforts but u also know that this is not impossible thing...TY 🙏👍
0
@emmey nice Thinking but Bro i tried everything in this and now i M done I made 20 patterns but cant do this type of pattern With spacing like this so It would be nice for me to get a code from u....
0
@emmey bro pls Don't Test my patience....its A wrong which prints Different pattern ...... Dont Reply Any code pls HAVE FUN TY
0
finally Thanks a lot spamfood