The DSA questions were asked in Myntra in OA.
One thing to note here is you can also use double triple quotes for multiline strings(""" """ like this). Do you remember I said(ok wrote) there is something called unassigned strings in this post?
Three days ago I sat down to study binary search and completely fell apart. I knew the logic. I’ve seen rotated arrays before. I’ve solved some of these problems in the past. And yet when I opened the ...
12 problems, 4 patterns, one gap found. Honest day. Today felt different. Not because everything went perfectly — it didn’t — but because for the first time this week I finished an entire topic in a ...
Hello there, I love reading and learning in general. But I know that a lot of people don’t. Especially when the text is long and tech jargon-heavy. But reading a company’s blog improves system design ...
This beginner-friendly guide will walk you through Tkinter’s ScrolledText widget — step by step with code, clear explanations, and some fun along the way.
What is a Scrollbar in Tkinter? Scrollbars in Tkinter are those little bars that help you scroll when content overflows. Imagine you have a huge list or a long text area. If it doesn’t fit in the ...
Tomorrow, we’ll build a full Rich Text Editor with bold, italic, font styles, colors, links—you name it. But first, let’s master the basics.
But suddenly, it’s all looking like spaghetti. Let me introduce you to your new best friend: Frame. It helps you keep your layout neat and organized—just like folders on your desktop.
What is grid() in Tkinter? Okay, imagine your app is like a spreadsheet. You’ve got rows and columns. With grid(), you can tell Python: “Hey, I want this button in row 1, column 0.” And boom! It lands ...
So far we have seen labels, buttons, images, etc in Python’s built-in toolkit Tkinter. With any of the widgets, we were using a method called pack(). And if you are like me you would love to explore ...
Hello Pythonistas, welcome back. Today we will see how to use the Tkinter Entry widget (input widget) in Python. To do this along with the entry widget we will need a button and a label. Onclick the ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results