What is Bike Rental System - Python Project | Complete Tutorial

Поделиться
HTML-код
  • Опубликовано: 8 ноя 2024

Комментарии • 32

  • @wscubetech
    @wscubetech  2 года назад

    😎Hey, thanks for watching! We’d love to know your thoughts/doubts here in the comments.
    🔴 To learn Python Programming online with regular LIVE CLASSES, enroll now: forms.gle/uLFMXsV7jzjgwTJY7
    👉For professional self-paced certification courses (pre-recorded), visit: bit.ly/Pre-Recorded-Course
    👉Don’t forget to SUBSCRIBE our channel for more such videos & valuable content: bit.ly/RUclips-WsCubeTech

  • @daanishrizvi
    @daanishrizvi 10 месяцев назад +2

    The Stock is not updating.
    Reason: Due to creating a new instance of the BikeShop class in each iteration of the while True loop. This resets the stock to 100 every time, losing changes from the previous iteration.
    Solution: To resolve, move obj = bikeShop(100) before the while loop, ensuring the same instance is used in each iteration.

    • @prasadpatil6781
      @prasadpatil6781 5 месяцев назад

      Bro, Then what's the Solution ?

    • @daanishrizvi
      @daanishrizvi 5 месяцев назад +1

      @@prasadpatil6781 click on Read more and then read the comment again.

  • @youniverse69
    @youniverse69 3 года назад +2

    Thanks for the video.

  • @VloggerHaseeb
    @VloggerHaseeb 2 года назад +1

    Congratulations you got 1M subscriber

  • @Vijaypatil-to4ym
    @Vijaypatil-to4ym 2 года назад

    Thanks sir for your teaching skills.....

  • @bobykardam4099
    @bobykardam4099 Год назад

    👍 great

  • @prathampatel9898
    @prathampatel9898 2 года назад +2

    Thanks Sir 😊

  • @sanketgaming9517
    @sanketgaming9517 Год назад

    Bohot hard hai yaar

  • @devsharma8280
    @devsharma8280 3 года назад

    Thanks you sir , Your videos are superbb.........

  • @alkanoor1752
    @alkanoor1752 Год назад

    Sir if we have 100 stock and we put 51 the it is also showing sorry out of stock... jabki 51 is less than 100. if my stock is 200 and I am putting 101 then it is also showing out of stock

  • @jpsagar6193
    @jpsagar6193 3 года назад

    very nice video, thank you sir, i like you sir.

  • @hussainmdafsar348
    @hussainmdafsar348 2 года назад

    3 Collon means, can we use double colon

  • @БотаСтокин
    @БотаСтокин 2 года назад +1

    Not me doing my final project night before

  • @Sumit-tn9ut
    @Sumit-tn9ut 2 года назад

    sir stock ko run krne ke liye self.stock but pr q ko direct class ke method m call kra kyu

    • @vyavahareaditya5936
      @vyavahareaditya5936 2 года назад +1

      Bcoz , we are taking value of q from normal method of class , if we take value of p from init at that time we have to use self.p

  • @Bum_Bum_Bhole
    @Bum_Bum_Bhole 11 месяцев назад

    Haw to save database in sql

  • @ankitChamp143
    @ankitChamp143 2 года назад

    in this project if user took 10 bikes and again want more 10 bikes then stock showing 90 bikes available. plz rectify this and tell me how to solve this issue #wscubetech

    • @ankitChamp143
      @ankitChamp143 2 года назад

      can anyone reply #wscubetech

    • @ankitChamp143
      @ankitChamp143 2 года назад

      can anyone reply @wscubetech

    • @vyavahareaditya5936
      @vyavahareaditya5936 2 года назад +2

      @@ankitChamp143 This is bcoz we are creating objects each time whenever the value within loop is True , so instead of creating objects each time simply create object outside the while loop .
      Try and Check this will work 🙏.

    • @hussainazizworld
      @hussainazizworld Год назад

      @@vyavahareaditya5936 you are not telling the right thing

    • @syedk6584
      @syedk6584 Год назад +1

      n=100
      while True:
      obj=BikeShop(n)
      action=int(input('''
      1 | See no of Stocks
      2 | rent bikes
      3 | exit
      '''))
      if(action==1):
      obj.showStocks()
      elif(action==2):
      qty=int(input("Enter no of bike you want to rent"))
      obj.rentBikes(qty)
      n=n-qty
      else:
      break

  • @apurvavarude7945
    @apurvavarude7945 Год назад

    Source code?

  • @ZafarIqbal-uh6ho
    @ZafarIqbal-uh6ho 3 года назад

    Nice. Koi samaj ni i

  • @Zak-l7e
    @Zak-l7e Год назад

    why do you write your titles in English and speak in different language, this wastes users time and clutter the search. would it not be easier to write the title in your language so it does not bother others.