Python Number Pattern - Reverse Floyd's Triangle

  Рет қаралды 45,848

Amulya's Academy

Amulya's Academy

Күн бұрын

In this Python Pattern Printing Programs video tutorial you will learn how to print numbers in right triangle 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.
Number Pattern Part 1:
• Number Pattern | Part ...
Number Pattern Part 2:
• Number Pattern | Part ...
Star Pattern:
• Python Pattern Program...
Format Function:
• Python Pattern Program...
Columns wise Pattern:
• Python Pattern Program...
For more free tutorials on computer programming
/ amulsacademy
AmulsAcademy

Пікірлер: 57
@nonoobott8602
@nonoobott8602 3 жыл бұрын
Great solution. Honestly, I've learned so much about python proramming concepts from your channel. As regards this, I have an alternative solution. So it's more like a quadratic sequence that follows the rule: (n^2/2 + n/2) where n defines each term from 1 all the way. So when n is 1, we have 1 and when n is 2, we have 3 which is a triangular series pattern. Hence this is my code: n = int(input('Enter a number : ')) c = int(0.5*n**2 + 0.5*n) for i in range(n): for j in range(i+1): print(format(c,"
@vharindrareddy
@vharindrareddy 3 жыл бұрын
When the pattern does not starts with one. We have subtract 1 from (0.5*n**2 + 0.5*n) and add to the desired starting number.Here is the code: n = int(input()) k = int(input()) a = int((k ** 2)*0.5 + 0.5*k) b = n + (a - 1) for i in range(0, k): j = 0 while j
@Crins0m_Carnage
@Crins0m_Carnage Жыл бұрын
Thank you so much Amuyla! I have been doing coding for 2 months now, and have been watching your tutorials. They have been very helpful. Thank you!
@Igor-vk8fl
@Igor-vk8fl 3 жыл бұрын
Thank you so much!! I'm getting to understand FOR loops much better with your videos.
@MDIMRAN-ze3rj
@MDIMRAN-ze3rj 2 жыл бұрын
Thank you so much, ma'am. I completed all pattern print tutorials. Please ma'am make a simple project tutorial for beginners to advance for 20-30 days. Again thank you so much.
@dineshkumark536
@dineshkumark536 3 жыл бұрын
Thank you so much. My placement season is going to start your videos are so helpful 😇
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
All the best 😊❤️
@sivagssri
@sivagssri 2 жыл бұрын
Good tutorial for Python... Not sure why you have stopped your videos...
@bhargavateja6375
@bhargavateja6375 3 жыл бұрын
Thanks You So Much Madam I Have Learnt Many Things By Watching Your Videos ❤️🥰😇
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Pleasure 😊
@satishnaidu1400
@satishnaidu1400 Жыл бұрын
Please continue the series mam............i humble request you mam
@entertainmentraja8608
@entertainmentraja8608 3 жыл бұрын
Her style of explanation is very nice😍😍
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you 😊
@radhasree4u
@radhasree4u 2 жыл бұрын
@@AmulsAcademy madam pls reply to my comment, i aske you a question. please reply for that
@abhiramveerastu8833
@abhiramveerastu8833 10 ай бұрын
thx madom pls make video for reverse alphabet program for loop
@venkateshrasipuram4804
@venkateshrasipuram4804 3 жыл бұрын
Hi did you already posted video about heap sorting algorithm??
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
No 😊
@Universal_Dubbing_World
@Universal_Dubbing_World Жыл бұрын
Please do tell us hallow stars patter and hallow numbers.. Thank you
@ravindarreddy3619
@ravindarreddy3619 3 жыл бұрын
Hai Madam! could you explain what is "
@python2381
@python2381 3 жыл бұрын
hey bro i want one question and i want solution from you i have one arry like string ["4599"],["6625"],["7777"],["12345"],[7070] but i want print only this out put like this ["4599"],["6625"],["7777"] means i want print that string which string have same string last two or 1st and next if are same and or whole are same like in this arry ["7777"] how will sove this question
@SHYAMSUNDAR-iv3uv
@SHYAMSUNDAR-iv3uv 2 жыл бұрын
Good evening mam. I kind request mam. Can you please help me to solve the problem on printing prime numbers in right triangle pattern
@balu90528
@balu90528 Жыл бұрын
Good morning madam Just now try your method as you said But its not showing triangle Could you please help me madam
@familyvibes9707
@familyvibes9707 2 жыл бұрын
Which code playground do you use madam?
@ekumaresan2000
@ekumaresan2000 Жыл бұрын
Mam this video which is i and j pls explain mam
@mukundborse6156
@mukundborse6156 2 жыл бұрын
Thank You so much for this videos.
@bhargavimopuru8576
@bhargavimopuru8576 2 жыл бұрын
inputs are after 4 a b c d f e f g t e r r a b i j output wants to come as [(0,0),(1,0),(2,0),(2,1),(2,2)] different inputs are search 4 s e a c r c c c h e e e h e e e output wants to come as "no such word is there" how will do this in python pls explain
@ashwathsriramb4643
@ashwathsriramb4643 3 жыл бұрын
"
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
We are formatting number here, for more information check out the video on format function 😊
@Mnbvcxz12349
@Mnbvcxz12349 Жыл бұрын
What if if the initial value is 10 or 15 instead of 1
@kishanshetty9483
@kishanshetty9483 2 жыл бұрын
x = 15 for i in range(5): for j in range(i+1): print(format(x,"
@VenkateshKking
@VenkateshKking 3 жыл бұрын
in format function y we using (m , "
@selvanm2872
@selvanm2872 3 жыл бұрын
thank you
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Pleasure 😊
@nagalladileepsubramanyasai8317
@nagalladileepsubramanyasai8317 2 жыл бұрын
will u provide pdf for patterns pls
@lwy0802
@lwy0802 3 жыл бұрын
So good..
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Thank you 😊
@jyotirmaytripathi3331
@jyotirmaytripathi3331 3 жыл бұрын
Thanks
@balakrishnavaidyanathan8572
@balakrishnavaidyanathan8572 2 жыл бұрын
Amulyas academy any New program in offing
@surendhar_s
@surendhar_s 3 жыл бұрын
Thankyou mam
@AmulsAcademy
@AmulsAcademy 3 жыл бұрын
Pleasure 😊
@radhasree4u
@radhasree4u 2 жыл бұрын
madam pls explain the pattern 17 18 19 20 14 15 16 12 13 11 for n=4
@p.b.pranav8247
@p.b.pranav8247 Жыл бұрын
Tq mam
@balu90528
@balu90528 Жыл бұрын
Okay madam I got it
@Drv88
@Drv88 10 ай бұрын
for i in range (1,6): for j in range (1,i+1): print(j,end=" ") for j in range (2,7-i): print(" ",end=" ") for j in range (i,0,-1): print(j,end=" ") print() In this code, it's repeating 5 in the last row This is desired output 1 1 12 21 123 321 1234 4321 123454321 Can somebody help
@analystakash
@analystakash Жыл бұрын
24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 please explain this problm , im so confused
@srividya5720
@srividya5720 2 жыл бұрын
1 6 2 10 7. 3 13. 11 8. 4 15. 14. 12 9 5 Mam please do this program video requesting you
@VI-tb4jq
@VI-tb4jq 2 жыл бұрын
I think with an list this can easily be realised like: n = input() list = [0 for i in n] k=n list[0]=1 while n>0: for i in range(k): list[i] = list[i] +n if list[i] > 0: print(list[i], end=" " ) n=n-1 print(n) # not tested - only an idea
@srividya5720
@srividya5720 2 жыл бұрын
@@VI-tb4jq kk please test and let me know the correct output
@ashmeetkaur5291
@ashmeetkaur5291 Жыл бұрын
there is an easier way to do this program - ****************************************** p=15 for i in range (1,6): for j i range (1,i+1): print (format(p, "
@Itsmekriish_2
@Itsmekriish_2 3 жыл бұрын
Hi akka few days back nenu c programming gurinchi adiganu videos cheyamani gurtu unda edo okkati cheppandi plz akka meeru cheptanu ante wait chesta lekunte vere Vallavi Elagola artham chesukunta videos
@PriyankaGupta-hm7gt
@PriyankaGupta-hm7gt 2 жыл бұрын
When n=10 nd k(no of rows) is 5 then how can we print in reverse order
@Itsmekriish_2
@Itsmekriish_2 2 жыл бұрын
@@PriyankaGupta-hm7gteveryrow increase one place of number
@PriyankaGupta-hm7gt
@PriyankaGupta-hm7gt 2 жыл бұрын
@@Itsmekriish_2 can you make program
@Itsmekriish_2
@Itsmekriish_2 2 жыл бұрын
@@PriyankaGupta-hm7gt which program
@funfacts3059
@funfacts3059 2 жыл бұрын
Hii ma'am I have one problem How to print string like these using for loop Tk U h S a H p A R R E Help me out
@dileepkumarverma684
@dileepkumarverma684 Жыл бұрын
Your voice is cute
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 53 МЛН
Шок. Никокадо Авокадо похудел на 110 кг
00:44
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 960 М.
Number Pattern | Part 1 | Python Pattern Programs
24:08
Amulya's Academy
Рет қаралды 385 М.
Python Pattern Program - Printing Numbers in Square Shape
25:15
Amulya's Academy
Рет қаралды 94 М.
Star Pattern | Python Pattern Program
19:05
Amulya's Academy
Рет қаралды 11 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 53 МЛН