String Pattern | Python Pattern Programs

preview_player
Показать описание
In this Python Pattern Printing Programs video tutorial you will learn how to print alphabet of some strings in different shape in detail.

To print the pattern i will use nested for loops.
In this program pattern contains two for loops: the first loop is responsible for rows and the second for loop is responsible for columns.

For more free tutorials on computer programming
Рекомендации по теме
Комментарии
Автор

Wow,
I was struggling with printing patterns in python, but now I am clear. Thanks to you🙂. And I like your voice. It was magical and It attracts me to learn python more and more😉.Thank you ma'am. 😊

luxshanthuraisingam
Автор

Keep teaching, i support u very very 😊

Name-yuux
Автор

You solutions are good but there are more better ways to do them like: here is my solution for the first equation.
word = "python"
x = ""
for i in word:
x += i
print(x)

Shivam_Manswalia
Автор

For the pattern "Printing the word in reverse right triangle reversing the string" - it can be done with minimal changes as below:
str1 = input("Enter the string: ")
k = len(str1)
for i in range(k):
for j in range(i):
print(" ", end=" ")
for j in range(k-i):
print(str1[-i-1], end=" ")

print()

O/P

n n n n n n
o o o o o
h h h h
t t t
y y
p

naveencog
Автор

Hi Amul I had a funny question - why are the Pattern Printing videos always so popular? Thanks for the vid

BrendanMetcalfe
Автор

I think there are many mistakes in your code

shaiknadeem
Автор

Thank you ma'am your video's are very helpful
I want to know
A program print any message when ENTER key is pressed.

nidhikotiya
Автор

Thanks yrr..it was because of your videos and teaching that I did well my exams. Thank you very much🤗

Akash
Автор

Ma'am please try to upload videos about constructing a binary tree

willywonka
Автор

Thnx a lot, Believe me for nested I suffer with huge Delimma but your teachings always relaxed me....
With love
Aditi Shukla

kanchanshukla
Автор

i urge every begineer to watch her videos ! pls like nd subscribe too..
she is awesome...yr..
hatss off!!

priyansh
Автор

Thank you so much! came here looking help for a coding problem, and learned much about nested loops. I am about to look at your number patterns!

phonxeno
Автор

Mam, Could you please add some videos on Mysql and python interface....


Your videos are easily you so much

myanimatedlife
Автор

Please explain in more details if you remove terminating space in 2nd for loop which print space in pattern.Its not very clear

MD-xscb
Автор

Thanks Amulya! Wonderfully explained the concepts!

muke
Автор

My G you are a certified legend, keep doing your thing

qusayalshueili
Автор

You could always have done diamond pattern!

Bicycle.dreaming
Автор

Mam binary no pattern ke videos kijiye plzzzz...apko Maine pehle 2 Baar bola bhaii Hu aapp lekin abhi tak banaye nahii plzz...binary no pattern ke videos

navinkarwa
Автор

Can we print these using while loop ??

arinjay