Fibonacci Sequence: Python Tutorial for Beginners

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 36

  • @wscubetech
    @wscubetech  2 роки тому +2

    😎Hey, thanks for watching! We’d love to know your thoughts/doubts here in the comments.
    👉For professional self-paced certification courses (pre-recorded), visit: bit.ly/Pre-Recorded-Course
    👉Don’t forget to SUBSCRIBE to our channel for more such videos & valuable content: bit.ly/UA-cam-WsCubeTech

    • @faltu-cw3id
      @faltu-cw3id Рік тому

      I think , You have written extra code.
      As per my observation below code is enough to print Fibonacci Sequence.
      """"
      n=int(input("Enter number: "))
      a=0
      b=1
      for i in range(1,n+1):
      print(a)
      c=a+b
      a=b
      b=c """

  • @agilebites9282
    @agilebites9282 2 роки тому +13

    It is a genuine suggestion... I think you must release two videos in a day regarding the python programs for covering the whole topics.

  • @mystudy8802
    @mystudy8802 Рік тому +8

    num = int(input('enter a number'))
    a = 0
    b = 1
    if num == 1:
    print(a)
    else:
    print(a)
    print(b)
    for i in range(3,num+1):
    c = a + b
    a = b
    b = c
    print (c)

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

      Why 3 ? In range?

    • @AUTechetah
      @AUTechetah 3 години тому

      Series start from 1​@@rangaranga967

  • @SyedAbdulHaseeb
    @SyedAbdulHaseeb 3 місяці тому +5

    Shortest way to generate a Fibonacci sequence.
    a, b = 0, 1
    for _ in range(10):
    print(a)
    a, b = b, a + b

  • @rehanclasher115
    @rehanclasher115 Рік тому +5

    Mam kya gazab kaam kr rhi ho aap logic build karne me bohot help ho rhi hai apki videos se

  • @AUTechetah
    @AUTechetah 3 години тому

    Very simple and informative approach, thank u so much

  • @pradyumnadwivedi8706
    @pradyumnadwivedi8706 8 місяців тому +1

    Hello ma'am,
    First of all thank you so much for creating such a wonderful video on this topic so elegantly. I got the exact same question in my practical examination today and i was successfully able to complete the execution of this program.
    Thank you so much ma'am ❣️😊

  • @maharashtrabhatkanti
    @maharashtrabhatkanti 2 роки тому +4

    Thank you so much, I'm very loved your videos ❤️❤️

  • @orifhairismadzivhe2954
    @orifhairismadzivhe2954 Рік тому +2

    Congratulations ❤😍

  • @harshittomar6048
    @harshittomar6048 Рік тому +2

    x=int(input("how many terms of febbanacci series"))
    a=0
    b=1
    count=0
    while count< x:
    print(a)
    c=a+b
    a=b
    b=c
    count+=1

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

    Love from Ghandhinagar gujrat

  • @BrijeshKumarsharma-v8t
    @BrijeshKumarsharma-v8t 8 місяців тому

    Meme bahute acha batya apne
    Thenks

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

    God of python ❤

  • @surajvirani7780
    @surajvirani7780 11 місяців тому +1

    Thank u ma'am 😅

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

    Thanks mam

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

    THANK YOU MAM
    #WSCUBETECH

  • @aniketpakhira649
    @aniketpakhira649 8 місяців тому +1

    but mam esma "if ", "else" function kiu use kia ??🤔 without that its also works

  • @harshbhardwaj696
    @harshbhardwaj696 8 місяців тому

    range will start from 2 intead of one?

    • @sting4325
      @sting4325 6 місяців тому

      because 0 and 1 print ho chuykay hain already

  • @s.kindian6961
    @s.kindian6961 2 роки тому +1

    Please python kivy ka video laiye

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

    Why did we chose n and not n+1 for range?

    • @souravbanerjee5504
      @souravbanerjee5504 4 місяці тому +1

      In python, the higher range is just previous value of n.
      For take upto n,you have to write n+1

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

    Sir please make a full tutorial what is sales funnel how to make sales funnel please sir ...make continuous video on digital marketing digital marketing...

  • @rgupta6052
    @rgupta6052 8 місяців тому +1

    This program is wrong..
    If you enter 2 it's still giving only 0 and 1... instead it should give 0,1,1

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

    Sir aap hme batao ki Gmail se mobile ko hack kaise kre please sir

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

    First

  • @million-dollerthoughts8956
    @million-dollerthoughts8956 2 роки тому

    Plzzz ek video bna dijiye, jisme hm animation videos channal ko bna sake free me🙏

  • @aparajitaghosh5103
    @aparajitaghosh5103 7 місяців тому +1

    🎉

  • @BhoomiGupta-p6i
    @BhoomiGupta-p6i 6 місяців тому

    # Display the Multiplication Table
    n=int(input())
    m=int(input())
    x=1
    for i in range(1,n+1):
    x=i*m
    print(n,"x",i,"=",x)

  • @RAJCHOWDHURY-c7g
    @RAJCHOWDHURY-c7g 4 місяці тому

    bhalo hoy nai

  • @BhoomiGupta-p6i
    @BhoomiGupta-p6i 6 місяців тому

    # Display the Multiplication Table
    n=int(input())
    m=int(input())
    x=1
    for i in range(1,n+1):
    x=i*m
    print(n,"x",i,"=",x)