Solve any character pattern in Python

preview_player
Показать описание
This video explains simple tricks by which you can solve any character or word pattern programs on your own.

00:00 - Introduction
04:38 - ASCII Codes to be used for character patterns
04:40 - Increasing triangle pattern with single character
05:55 - Increasing character pattern in Python
07:49 - Decreasing character pattern in Python
08:18 - Increasing character by 2 pattern in Python
08:51 - Alternate character pattern in Python
08:54 - Decreasing triangle pattern with alternate character in Python
10:02 - Diamond character pattern in Python
11:12 - Diamond pattern with increasing and decreasing character in Python
12:47 - Incrementing column character pattern in Python
14:51 - Decreasing column character pattern in Python
15:16 - Hill character pattern in Python
16:04 - Decreasing character pattern in Python
17:30 - Hill character pattern with increasing and decreasing character in Python
18:21 - String Increasing triangle pattern in Python
20:27 - String Decreasing triangle pattern in Python
21:01 - String Incrementing column pattern in Python
22:09 - String Decreasing triangle pattern in Python
Рекомендации по теме
Комментарии
Автор

All your tutorials are so brilliant, clear, nice, logical, simple, cool, easy to absorb & best explanation of patterns & numbers! Believe me I could not find such video explanations elsewhere in other youtube channels. Kudos & many many thanks 👋for your tutorials! ONE REQUEST - CAN YOU ADD OTHER NEW TOPICS OF PYTHON IN VIDEOS which are some confusing/somewhat hard to understand/remember (eg. to name a few - split, array/matrix multiplication, most frequently asked questions in python interviews with answers etc. ....stuff like that) thanks a lot & hopefully this channel grows further!😃👍👏🙏

adityaswarnakar
Автор

Literally I watched every videos of your channel and I'm awe of your explanation of logics. Thanks for making all these videos.

anandbaraik
Автор

Thank you so much for your tutorials !! They are really helpful !!

Studypro-isgc
Автор

learned a lot from your videos, thanks a lot mam

MadhanKumar-fvqo
Автор

really helpful and great explaination, Thanks

kedardeshmukh
Автор

What a amazing video mam, I am glad you made this. I am really really blessed
print("Thank you mam")

rohanrohilla
Автор

Mam your teaching is good but codes are not fitting on the screen then please show rest code also

English-English
Автор

hello can you also make video about how to solve any hollow pattern in python? really love your explanation!

cheris
Автор

In this video at 22.15, 2nd pattern as per below:

R E D O R
E D O R
D O R
O R
R

I have written the code successfully but I added 1 more last loop as per below:

s='CODER'
n=len(s)
k=n-1
for i in range(n):
p=k
for j in range(i):
print(' ', end=' ')
for j in range(i, n-1):
print(s[p], end=' ')
p-=1
for j in range(n-4):
print(s[4], end=' ')
k-=1
print()

Can you please provide the optimized code means only with 2 loops ? Thanks, looking for your early reply.😊

adityaswarnakar
Автор

Hello Ma'am,
Decreasing pattern with starting character is same for n = 5 isn't giving correct output for all test cases.

For ex: for n = 1, it's giving 'E'
Rather it should give 'A'

Thanks in advance!

basicwithprit
Автор

madam,
your explanation is awesome
it helps me a lot
if you mind, can please make videos for pyramid patterns and different hollow patterns in python !
please, madam can make it fast
i am requesting you, madam

vadderajamallidileep
Автор

How to solve the double hill pattern? I am unable to solve the code by following the above class.

DK-jscz
Автор

how to print a number triangle and hallow space

alekhyamudigonda
Автор

Hi, in reverse got the shape correctly like reverse hill, but my doubt is i got output like
* * * * *
* * *
got like this, but what i want is * * * *
* * *
* *
* like this ... 1st 5 stars, then 4, then 3, then 2, atlast igot like 5, 3,1 series what can ichange in this same logic

shailajajavvadhi
Автор

hello plz make a video on butterfly pattern using python..

rayyanjb
Автор

Loved solving the patterns

But is nt there any better alternative then writing these much bigger loops?

A beginner 🎆

sarahtaylor
Автор

For decrement order like abcdedcba by taking user input how to solve mam..😐

mouni-o-
Автор

can we write these programmes in while loop! if yes pls do videos out of it

madhumitharajkumar
Автор

n=int(input())
ascii_value=65
z=1
for i in range(0, n):
for j in range(n-i, 0, -1):
print(" ", end=" ")

for j in range(0, z):
print(chr(ascii_value), end=" ")

z+=2
ascii_value+=1
print()


#out put
5
A
B B B
C C C C C
D D D D D D D
E E E E E E E E E

=== Code Execution Successful ===

sandeepkumartiwari
Автор

Can u plz share me links of your all python videos

gargacoustics