Design Python c∅de for the pattern.
Attachments:
Answers
Answered by
7
"""
Project Type: Brainly Answer
Date Created: 13-02-2021
Date Edited Last Time: ---NIL---
Question Link: https://brainly.in/question/35111604
Question: Design Python c0de for the pattern.
* * * *
* * *
* *
* *
* *
*
Program Created By: atrs7391
Programming Language: Python
Language version (When program created or last edited): Python 3.9.1
"""
for i in range(6):
for j in range(7):
if (i == 0 and j % 3 != 0) or (i == 1 and j % 3 == 0) or (i-j == 2) or (i+j == 8):
print("*", end=" ")
else:
print(end=" ")
print()
Attachments:
Answered by
90
HOPE IT HELPS :)
Attachments:
Similar questions