Amazon Interview Question : Program to Print Pascal Triangle | Python Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 28

  • @shortseries5008
    @shortseries5008 2 ปีที่แล้ว +2

    yes, explained very clearly

  • @c1inward346
    @c1inward346 ปีที่แล้ว

    Thank you miss I fully understood the concept!

  • @oxanasf6369
    @oxanasf6369 4 ปีที่แล้ว +2

    It's very clearly explained, thank you!

  • @amansrivastava834
    @amansrivastava834 3 ปีที่แล้ว

    Maja aa gaya ma'am ...mai faltu mai aur video explore kar gaya..

  • @felantsoaarimamy7579
    @felantsoaarimamy7579 ปีที่แล้ว

    It is so helpful
    Thank you

  • @SaiKrishna-wl1ql
    @SaiKrishna-wl1ql 4 ปีที่แล้ว +1

    Clean and clear ...explanation 👏🏻👏🏻👏

  • @carlbenedictelipan9828
    @carlbenedictelipan9828 3 ปีที่แล้ว +8

    array = int(input("Enter a number: "))
    for i in range(0, array):
    x = 1
    for j in range(1, array - i):
    print(" ", end="")
    for k in range(0, i + 1):
    print(" ", x, end="")
    x = int(x * (i-k) / (k + 1))
    print()
    Hehehehe

    • @gsr3588
      @gsr3588 2 ปีที่แล้ว

      😍😍

    • @GachaB3ast
      @GachaB3ast 2 ปีที่แล้ว

      Love this one

  • @tadiwamagwenzi3439
    @tadiwamagwenzi3439 4 ปีที่แล้ว +2

    can you explain how to print it in the shape

  • @amitfulari8618
    @amitfulari8618 4 ปีที่แล้ว +1

    Nice explaination.....I would like to see some programs....to avoid TLE and memory ...like mamoization

  • @nafees2085
    @nafees2085 3 ปีที่แล้ว +1

    PLEASE WHAT CODE WILL YOU USE TO GET THE ROW IN A TRIANGLE FORM

  • @mokshanirugutti
    @mokshanirugutti 4 ปีที่แล้ว +1

    Excellent work
    Good explanation

  • @yeshu62
    @yeshu62 2 หลายเดือนก่อน

    how do i print into pattern??
    and nth row of the pattren
    can you please rply

  • @venubabuvelpuri3303
    @venubabuvelpuri3303 2 ปีที่แล้ว

    Mandam can you plz explain this problem matrix having X's and O 's as elements print max area of x's

  • @sabarishravishankar9158
    @sabarishravishankar9158 3 ปีที่แล้ว

    mam why we are taking list of list in this program??

  • @kumaraniket7037
    @kumaraniket7037 3 ปีที่แล้ว

    If u want to delete last column i.e=1 of row 6 and print all the remaining output what is the code

  • @raveena2403
    @raveena2403 4 ปีที่แล้ว +1

    How to print it in the triangle pattern?

    • @subhamukherjee3183
      @subhamukherjee3183 4 ปีที่แล้ว +1

      for i in a:
      print(i)
      Just pint using a loop as print gives a new line

  • @yeshwanthsara4636
    @yeshwanthsara4636 4 ปีที่แล้ว +2

    i want to learn patterns so pls send vaild link

    • @nETSETOStECH
      @nETSETOStECH  4 ปีที่แล้ว

      Hope it will help you. th-cam.com/play/PLFV6T8f5WU2G6uyHgwc3p8XPkygSU8uNg.html

  • @sirijaiswee05
    @sirijaiswee05 3 ปีที่แล้ว

    Hi sister pythonlo functions use chesi arthemetic operations chepara

  • @banhishikhamitra2600
    @banhishikhamitra2600 3 ปีที่แล้ว

    Very clearly explained! Thanks