Python Number Pattern - Reverse Floyd's Triangle

Поділитися
Вставка
  • Опубліковано 18 лип 2021
  • 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

КОМЕНТАРІ • 60

  • @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 2 роки тому +2

    Thank you so much!! I'm getting to understand FOR loops much better with your videos.

  • @MDIMRAN-ze3rj
    @MDIMRAN-ze3rj 2 роки тому +1

    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.

  • @sivagssri
    @sivagssri Рік тому

    Good tutorial for Python... Not sure why you have stopped your videos...

  • @nonoobott8602
    @nonoobott8602 3 роки тому +4

    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 2 роки тому +2

      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

    • @sureshsn3962
      @sureshsn3962 Рік тому

      @@vharindrareddy tq
      I was serching this and feel difficulty in providing space now it is clear sk tq

  • @dineshkumark536
    @dineshkumark536 3 роки тому +4

    Thank you so much. My placement season is going to start your videos are so helpful 😇

  • @mukundborse6156
    @mukundborse6156 2 роки тому

    Thank You so much for this videos.

  • @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

  • @satishnaidu1400
    @satishnaidu1400 Рік тому +1

    Please continue the series mam............i humble request you mam

  • @python2381
    @python2381 2 роки тому

    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

  • @bhargavateja6375
    @bhargavateja6375 3 роки тому +2

    Thanks You So Much Madam I Have Learnt Many Things By Watching Your Videos ❤️🥰😇

  • @familyvibes9707
    @familyvibes9707 2 роки тому

    Which code playground do you use madam?

  • @venkateshrasipuram4804
    @venkateshrasipuram4804 3 роки тому +3

    Hi did you already posted video about heap sorting algorithm??

  • @Universal_Dubbing_World
    @Universal_Dubbing_World Рік тому

    Please do tell us hallow stars patter and hallow numbers..
    Thank you

  • @entertainmentraja8608
    @entertainmentraja8608 3 роки тому +2

    Her style of explanation is very nice😍😍

    • @AmulsAcademy
      @AmulsAcademy  2 роки тому

      Thank you 😊

    • @radhasree4u
      @radhasree4u 2 роки тому

      @@AmulsAcademy madam pls reply to my comment, i aske you a question. please reply for that

  • @nagalladileepsubramanyasai8317
    @nagalladileepsubramanyasai8317 2 роки тому

    will u provide pdf for patterns pls

  • @jyotirmaytripathi3331
    @jyotirmaytripathi3331 2 роки тому

    Thanks

  • @VenkateshKking
    @VenkateshKking 2 роки тому

    in format function y we using (m , "

  • @ekumaresan2000
    @ekumaresan2000 Рік тому

    Mam this video which is i and j pls explain mam

  • @abhiramveerastu8833
    @abhiramveerastu8833 7 місяців тому

    thx madom pls make video for reverse alphabet program for loop

  • @balu90528
    @balu90528 Рік тому

    Good morning madam
    Just now try your method as you said
    But its not showing triangle
    Could you please help me madam

  • @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,"

  • @bhargavimopuru8576
    @bhargavimopuru8576 2 роки тому +1

    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

  • @selvanm2872
    @selvanm2872 3 роки тому +2

    thank you

  • @lwy0802
    @lwy0802 2 роки тому +1

    So good..

  • @p.b.pranav8247
    @p.b.pranav8247 Рік тому

    Tq mam

  • @ravindarreddy3619
    @ravindarreddy3619 2 роки тому +1

    Hai Madam! could you explain what is "

  • @surendhar_s
    @surendhar_s 3 роки тому +1

    Thankyou mam

  • @ashwathsriramb4643
    @ashwathsriramb4643 3 роки тому +3

    "

    • @AmulsAcademy
      @AmulsAcademy  2 роки тому +1

      We are formatting number here, for more information check out the video on format function 😊

  • @radhasree4u
    @radhasree4u 2 роки тому

    madam pls explain the pattern
    17 18 19 20
    14 15 16
    12 13
    11 for n=4

  • @balu90528
    @balu90528 Рік тому

    Okay madam I got it

  • @balakrishnavaidyanathan8572

    Amulyas academy any New program in offing

  • @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

  • @hindinews10
    @hindinews10 7 місяців тому

    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

  • @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, "

  • @smw_solutions
    @smw_solutions 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

    • @smw_solutions
      @smw_solutions 2 роки тому

      @@PriyankaGupta-hm7gteveryrow increase one place of number

    • @PriyankaGupta-hm7gt
      @PriyankaGupta-hm7gt 2 роки тому

      @@smw_solutions can you make program

    • @smw_solutions
      @smw_solutions 2 роки тому

      @@PriyankaGupta-hm7gt which program

  • @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 Рік тому

      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 Рік тому

      @@VI-tb4jq kk please test and let me know the correct output

  • @dileepkumarverma684
    @dileepkumarverma684 Рік тому

    Your voice is cute