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
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
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)
why are you inheriting object in the Stack class?
great work soumilshah. learnt a lot in just a single video. appreciate your effort
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
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
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)
Nice
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.
Superb explanation sir.Its helps a lot sir keep rocking
implementation 3:45
Wow great work. Keep rocking
Sir can you send some practices questions of stack? Regrads Shaikh Rameez Azhar
Thanks a lot , it did help me !
Thanks bhi bohot problem horara tha ab thik he ❤️❤️❤️❤️❤️❤️❤️❤️
Linked list PE vi Thora bana na 👍👍👍👍👍👍👍👍👍👍👍
Why you pass the arguments in quotes
you are the best
Thanks a lot bro
I taught stack is LIFO principle
bhai kuch smj nhi aya
why the none comes?(5:49)
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
Thanks
Thanks!
cross check your code with your own git repo it would help you.