Python Stacks - Python Tutorial for Absolute Beginners | Mosh

preview_player
Показать описание
Learn how to use stacks in Python.

Python Exercises for Beginners:

Python Cheat Sheet:

Want to learn more from me? Check out my blog and courses:

Рекомендации по теме
Комментарии
Автор

Short concise and full of knowledge, why does other people make explanation so difficult thank you for the explanation

blenderremastered
Автор

Mosh! I just wanted to say ou channel is very important to dev begginers around the world!
I learned english, so that I can have access to this free excelent content to clarify my view about a new subject in programming world!

Thank you and congratulations for the video!

wesley
Автор

Great video and appreciate having this. At the 4:20 mark, you suggest "if not browsing_session: print(browsing_session[-1])". But wouldn't this fail. The 'not' is true only if the list is empty so this would produce an error when true. Or am I missing something?

runner
Автор

the best stack implementation in python video on the internet.. 🥇

SamTruce
Автор

My man. On every yt tutorial that I saw. This video is the one and only made me fully understand what stack is in python. Big thanks! God bless you :>

normiesgaming
Автор

Thank you for all these python videos Mosh!!

mohitmuralialumullithody
Автор

As always, Mosh's simplicity of explaining is the best!❤

shakhzod_shermatov
Автор

Superb man ! You summed up the whole thing in just 5 mins. Great !

suvendukumarmaharana
Автор

Sir I loved your teaching 🙌🙌🙌
I started growing interest after watching your tutorial classes 👐

Pallavi-mknc
Автор

The last line
if not browsing_session:
browsing_session[-1]

this should be :-
if browsing_session:
browsing_session[-1]

Please correct me if I am wrong

ashishdukare
Автор

Very nice sir.
Your teaching style is awesome

newdigitalera
Автор

What is the color scheme of the editor its really pretty ?

dakshsagar
Автор

Just a list with rules for data manipulation.

blackholesun
Автор

Hi Mosh please make tutorial on spring boot and especially spring security .It will be very useful for lots of people, especially of you are doing :)

prashanttiwari
Автор

If browsing_session:

If not browsing_session:
We will get an error!

PhilippeRigovanov
Автор

Hi i am waleed from pakistan sir i am BS computer science studend and i want do command in python language i watches your tutorials which is stupendous now i want to ask you that how can i good programmer please do you help me

waleedkaleem
Автор

But.. now you hit the forward button and get an error because you’ve deleted the last item in your list instead of just pointing to the previous item?

sjgsteve
Автор

from this logic, Help please!!

list1=[2, 5, 6, 7]

last_element=list1.pop()
print(last_element)
print(list1) # prints [2, 5, 6]

str1 = "abcdefghijklmnopqrts"
str2= str1.upper()
print("str1", str1) #prints string as it is
print("str2", str2) # prints string in uppercase


why did print("str1", str1) did not print in uppercase?

ronymacwan
Автор

Browsers use LinkedList(double) not Stack

MadlipzMarathi
Автор

I was way overthinking how stacks work

cullen