Implementing Stack | Data Structure in Python #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • Code :
    github.com/sou...

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

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

    why are you inheriting object in the Stack class?

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

    great work soumilshah. learnt a lot in just a single video. appreciate your effort

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

    Perform following operations using the Python functions developed in Task 1: (5)
    a. Insert 1, 7, 5, 2 data elements into the stack and display all data elements
    b. Delete the data element at the top of the stack and display all the data elements

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

    Thanks for the video! Couple beginner questions:
    What does if name == " main ": mean or do?
    What's the point of constructing a class like this? Can't you just use the normal python functions when working with a list?
    Many thanks

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

      if name == " main " evaluates the name of the module so that user don't have to fill the input section again and again in the terminal section (While Sharing of the code with someone)

  • @vinodkinoni4863
    @vinodkinoni4863 5 ปีที่แล้ว +6

    Nice

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

    Actually I know code in stack by using function
    It's helpful to me how to write a code in method in class ..
    Thank you Sir.

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

    Superb explanation sir.Its helps a lot sir keep rocking

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

    implementation 3:45

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

    Wow great work. Keep rocking

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

    Sir can you send some practices questions of stack? Regrads Shaikh Rameez Azhar

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

    Thanks a lot , it did help me !

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

    Thanks bhi bohot problem horara tha ab thik he ❤️❤️❤️❤️❤️❤️❤️❤️
    Linked list PE vi Thora bana na 👍👍👍👍👍👍👍👍👍👍👍

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

    Why you pass the arguments in quotes

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

    you are the best

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

    Thanks a lot bro

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

    I taught stack is LIFO principle

  • @user-ni8qx8br1l
    @user-ni8qx8br1l ปีที่แล้ว

    bhai kuch smj nhi aya

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

    why the none comes?(5:49)

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

      l.append returns a an Nonetype because its just a function that adds a refrence value to end of list of a memory location where new integer stored

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

    Thanks

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

    Thanks!

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

    cross check your code with your own git repo it would help you.