print pattern | SoloLearn: Learn to code for FREE!

0

print pattern

How to print this pattern when the input is 5 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 in python

...

7/1/2020 6:30:49 AM

Raveena

69 Answers

New Answer

+9

raveena Show on codeplayground

+9

Try this . https://www.codechef.com/FEB20B/problems/THEATRE

+8

raveena use( @ ) symbol to mention someone

+8

raveena may be in pc it won't work

+7

raveena Can you please show us your attempt?

+5

raveena When you will try to mention someone the first'ly type @ and wait . You will see a menu and from that list select the required person you want to mention.

+4

raveena paste this code in code playground than copy the link and paste it here

+4

i didn't get the logic to print???

+4

am not getting any suggestion ??? why

+3

raveena Step by step Can you print the first line?

+3

https://code.sololearn.com/cDC4lmvuz5Ht/#py

+3

Why not?

+3

Kiran Deep Naidu yeah it's alright.no problem😊

+2

Obviously u have three kinds of lines.

+2

raveena now can you print 5 lines of it? For l in range(5)...

+2

https://code.sololearn.com/cDC4lmvuz5Ht/#py i got the answer

+2

+2

+2

what device u r using ??

+2

tq all for info