#python - carpet loop assingment

1 messages · Page 1 of 1 (latest)

old socket
#

how do i use the % operator to print 2 lines? also how do i use an equality check to also do the same?

solar gorge
#

Can you develop a little more your problem? I am not sure to understand what you mean

old socket
#

well basically i have a carpet loop assingment

#

and one of the requirements was that i h e to use a single while loop to print the design

#

another requirement was that i had to use the % operator to print 2 of the lines as well as ==

#

how do i do that?

#

this is what i have so far;

#

i don’t know how to start a loop though ☹️