Debugging The Pascal's Triangle - Python Pattern Program | Working

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

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

  • @SowjanyaA-b1s
    @SowjanyaA-b1s ปีที่แล้ว

    amazing explanation i never see a video like this explanation before

  • @matthewabiodun3490
    @matthewabiodun3490 20 วันที่ผ่านมา +1

    Thanks for this ma'am

    • @AmulsAcademy
      @AmulsAcademy  15 วันที่ผ่านมา

      Most welcome 😊

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

    U r a great teacher, keep doing good work. i've a question or doubt regarding a basic print statement.
    numlist=[1,2,3,4,5]
    for i in numlist:
    print(i) # printing starts from value1
    print(numlist[i]) #printing starts from # value 2
    plz help me to understand why print(numlist[i]) starting from 2( index value 1)..

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

      Hey,
      for i in numlist:
      i value will be the elements of numlist. initially i = 1 {The first value of numlist}
      so when you write
      print(i)
      It will print elements of numlist one by one.
      But if you write
      print(numlist[i])
      here you are accessing the list elements using indexing and here you took index as i.
      what is i ?? i is the elements of numlist
      the first element of numlist is 1, so it will print
      numlist[1]
      that is 2.
      Because in the list index starts from 0.
      NOTE: Instead of [1,2,3,4,5] if you had different values in the list you will get error.
      for example [10,20,30,40,50]
      :)

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

      @@AmulsAcademy for small query solution high....great to read😎😎😎😎

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

    Perfect explanation mam....

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

    Hey, your videos our helping me alot and and iam sharing it with my friends in learning group who are from different states of india.
    Please keep posting.
    Wanted to know your name? Is it amulya or amul?

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

      Thank you so much :)
      My name is Amulya :)

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

    Спасибо, девушка. Весьма помогли в понимании этого процесса.

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

    Mam Can you make a QnA about yourself. If u r comfortable about it

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

    Thanks for this!

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

    Mam, please create a separate playlist of Python Data Structures

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

    Mam, I have one request for you.
    You have done many programs for begginners to built coding skills.
    Can you suggest any website to start competitive programming.
    And also how to start competitive programming
    : )
    Please please a request from me.
    It will also help your subscribers : )

  • @pravyn350
    @pravyn350 4 หลายเดือนก่อน

    What’s the complexity ?

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

    Thanks a lot

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

    Muy eficiente la explicación del ejercicio, lo entendí aunque no hablo tu idioma., Gracias

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

    Thanks.

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

    Mam pygame me mouse click option ka use kasie karte hai

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

    hi please start a series on Project Euler web site problems

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

    y u chosen this logic????🤔🤔🤔🤔instead of this u can try with a ncr formula for every element....and with the recursion concept it will be easier....
    n = int(input("enter the number of rows:"))
    def fact(i):
    if i==0 or i==1:
    return 1
    return i*fact(i-1)
    def formula(i,j):
    return fact(i)//(fact(i-j)*fact(j))
    for i in range(n):
    print(" "*(n-i-1),end="")
    for j in range(i+1):
    print(str(formula(i,j))+str(" "),end="")
    print()

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

    if possible, can you help with Ukraine symbol trident?

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

    👍