filmov
tv
Printing Patterns in Python || The Heart Pattern

Показать описание
In this video we have shown you how to print a Heart Pattern in Python using PyCharm IDE.
If u want to try it yourself then use this code
Code for this Pattern :
for row in range(6):
for column in range(7):
if (row == 0 and column % 3 != 0) or (row == 1 and column % 3 == 0) or (row - column == 2) or (row + column == 8):
print('*', end= ' ')
else:
print(' ', end= ' ')
print()
In order to cater to the needs of our viewers we have dedicated playlists on programming languages such as Python, Java, C Programming, Html & CSS, Robot Framework, and much more.
So stay tuned for much more content to come in this playlist...All the best from the entire Coders Arcade Team.
Thank You And Happy Learning.
👉Check Out Our Other Playlist As well:-
💻C programming For Problem Solving (VTU):
💻Robot Framework Tutorials using Python:
📕 Want To Learn From us:
#HeartPattern #PythonPattern
If u want to try it yourself then use this code
Code for this Pattern :
for row in range(6):
for column in range(7):
if (row == 0 and column % 3 != 0) or (row == 1 and column % 3 == 0) or (row - column == 2) or (row + column == 8):
print('*', end= ' ')
else:
print(' ', end= ' ')
print()
In order to cater to the needs of our viewers we have dedicated playlists on programming languages such as Python, Java, C Programming, Html & CSS, Robot Framework, and much more.
So stay tuned for much more content to come in this playlist...All the best from the entire Coders Arcade Team.
Thank You And Happy Learning.
👉Check Out Our Other Playlist As well:-
💻C programming For Problem Solving (VTU):
💻Robot Framework Tutorials using Python:
📕 Want To Learn From us:
#HeartPattern #PythonPattern