[00:07] Python from one who can actually clear a Python interview? It's not just syntax. It is your ability to understand the concepts, solve problems logically, approach with confidence. Hello everyone and welcome to this course on Python [00:21] interview preparation. Python is one of the most in- demand skills across software development, data analytics, automation, AI, and machine learning roles. But preparing for a Python interview requires more than just [00:33] memorizing commands or practicing random coding questions. So in this course, we way. We will begin by understanding Python, why it matters in today's technology careers, and where Python skills can open up opportunities. Next, [00:47] interview preparation road map and identify the key areas you should focus important part of the course that is practice both theory based concepts and hands-on coding problems designed to [01:01] strengthen your problem solving skills. Finally, we will review the key concepts and discuss how you can prepare more effectively for your next interview. So throughout this course we will first understand each concepts then apply it [01:13] through examples, interview style questions and coding exercises. So Python interview or looking to strengthen your existing knowledge, then this course will help you build the confidence and problem solving skills [01:26] you need to perform better in technical interviews. But before we begin, if analytics skills, you can explore Simple's data analyst course. This program gives you hands-on experience with tools such as Excel, SQL, Python, [01:39] R, Tableau, and PowerBI while helping you build practical skills through industry relevant projects and a capstone project. You will work on real world projects such as customer analysis with Python, data reporting with [01:51] PowerBI, crime analytics dashboard with Tableau, regional sales performance in Tableau, predicting restaurant tips with regression, helping you apply what you learn to practical business problems. So if you want to strengthen your analytics [02:03] analytics then check out the data analyst course from simply learn. So without any further ado let's get started. course. Python has become one of the most valuable skills in the technology [02:18] preparing for a developer role, a data machine learning career, Python skills can play an important role in your interview success. But preparing for Python interview is not just remembering [02:31] syntax or solving random coding problems. Think of it like preparing for a sports match. First you need to understand the rules, then practice your techniques and finally test yourself under real match conditions. So in the [02:44] same way, this course will help you build strong Python fundamentals and improve your problem solving approach and practice questions similar to what in this course, we will cover four lessons. Lesson one, understanding [02:57] Python and why it is important for today's tech careers. Lesson two is preparation road map and exploring career opportunities. Lesson three is practicing Python interview questions with theory concepts and hands-on coding [03:11] learnings and preparing yourself for your next interview. So each lesson practical example. We will first understand the concepts then apply them through the interview style questions and coding exercises. So whether you are [03:26] preparation or looking to strengthen your existing skills then this course will guide you through the right approach to become more confident and interview ready. So now let's get started. [03:43] popular programming languages and how it is used across different fields like software development, data analytics, artificial intelligence, automation and fundamental Python concepts that interviewers commonly test including [03:57] data types, functions, object-oriented programming, exceptional, decorators, and other important topics. You will learn how to prepare for Python interviews step by step, starting from strengthening your basics, practicing [04:09] concepts based on your target career role. So throughout this course, we will work on frequently asked Python interview questions and hands-on coding apply concepts in real interview situations. We will also improve your [04:23] problem solving skills. The goal is not just to find the correct answer but to develop the ability to analyze problems, explain your approach and confidently communicate your solutions during interviews. [04:39] start solving interview questions, it is important to understand why Python has today's technology landscape. Many candidates prepare for interviews by focusing only on coding questions. But understanding the bigger picture helps [04:52] you prepare more effectively. So in this lesson we will explore why companies across different industries use Python and why Python appears in interviews for multiple roles and what it really means to become interview ready. We will also [05:05] understand the difference between simply knowing Python syntax and actually being Python. So let's just start with a question I want you to sit with for a second. Why do you think almost every tech company regardless of what they [05:18] build asks Python questions in their interviews even if the job is not a Python developer role? Here's the answer. Python has become the common language across teams. A data analyst, a backend engineer, a QA tester, and a [05:32] machine learning engineer can all write Python even though their day-to-day work looks completely different. That versatility is exactly why it shows up everywhere in interviews. So why Python specifically? It is readable which means [05:47] teams can onboard people faster and review the code faster. It has a massive review the code faster. It has a massive ecosystem. Pandas and numpy for data. Django and flask for web tensorflow and pytorch for ML, Selenium and Pyest for [06:00] automation. So it is used across industries fintech healthcare e-commerce product companies and startups or enterprises all rely on it. And also enough depth that expert level interviews can go very deep which is why [06:15] levels. So why your interview preparation actually matters. A Python round is often the first filter before system design before behavioral rounds. Fail this and you don't get to show your other strengths. Interviewers aren't [06:29] testing memory. They are testing whether you think in Python. Can you reason through a problem? Explain trade-offs. Debug life. Most candidates overprepare on theory and underprepare on explaining their thought process out loud and that [06:42] is usually where offers are lost or won. So what interview ready actually means? Being interview ready is not about knowing every Python function that exists. It's about being fluent enough in the fundamentals and common patterns [06:56] that you can solve a problem confidently under time pressure and explain your reasoning clearly while you do it. So that is exactly what we are building that is exactly what we are building towards in this course. [07:11] lesson we will understand why Python is important. Let us move into practical side of the preparation. Many candidates spend hours learning random topics without following a structured approach. So this often creates confusion because [07:23] struggle to apply them during interviews. So in this lesson we will preparation road map. We will move step by step from strengthening your fundamentals to practicing advanced concepts and solving interview style [07:38] problems. We will also explore different career opportunities where Python skills can help you build your career. So if you have a few weeks before your interview, here is exactly how I will tell you to prepare from four stages. [07:50] Moving from strong basics to understanding problem solving skills. So stage one understand core fundamentals that is non-negotiable. Before anything else you need to be rock solid here. This is where most rejections actually [08:03] happen. Not because candidates don't know advanced topics, but because they fumble on basics under pressure. So, data types and mutability. Knowing the difference between mutable and immutable types, loops, conditionals, and [08:15] functions, including scope, local versus global variables, string and list manipulation, slicing, indexing, common built-in methods, exception handling, try, except, finally, and why you use each of them. So, don't just read these. [08:29] Open a Python shell and type them out. Muzzle memory matters more than Step two would be Python specific concepts. What separates a good candidate from great ones is this. This is a stage where interviewers start [08:42] distinguish knows Python from things in Python. So list comprehensions, generators and iterators and when to use a generator over a list for memory efficiency, args and keyword arguments, flexible function arguments, decorators [08:56] and closures. This is confusing for a lot of candidates. So we will spend real time on it later. Object-oriented programming classes inheritance self dunder methods like init and string. Shallow copy versus deep copy. A [09:09] commonly asked interview question that tests your understanding of object references. Next we have stage three and stage four. Stage three is apply problem problems under time pressure are two [09:22] closing that particular gap. Practice on deliberate. Don't randomly solve problems, drill patterns, arrays, strings, dictionaries, recussion, two-pointer technique. Time yourself. [09:36] Most interview gives you 15 to 20 minutes per coding questions. So practicing under that constraint changes how you think. Explain your approach out loud before writing the code. This is the single most underrated prep habit. [09:49] Interviewers are grading your reasoning as much as your syntax. And the stage your fundamentals and problem solving are solid, tailor your final preparation targeting data roles, then add pandas and numpy basics, data frames, [10:04] aggregation, handling, missing data. For backend roles, you can add flask or django fundamentals rest API concepts automation or QA roles add file handling and testing libraries like unit test or piest. So now let's talk about why this [10:19] preparation is worth the effort because Python is not a one role skill for Python developer or backend developer. Python is the actual backbone of the application. Here you would use frameworks like Django or Flask build [10:31] and consume rest APIs and interact with databases. So oops, exceptions handling and decorators show up directly in real code and not just interviews. If you're targeting data analyst role, then Python is your automation layer, not the core [10:45] messy data and automating recurring reports using pandas. So list dictionaries and string manipulation skills from our fundamental stage are what you will lean on daily. Next, if data scientist or ML engineer role is [10:58] what you're looking for, then Python is the interface to build and train models using libraries like scikitlearn or pytorch. Data pipelines rely heavily on loops, functions, and generators, especially when data sets are too large [11:10] to fit in memory at once. Then QA or automation test engineer. Python is commonly used to build and automate test workflows using tools like Selenium and frameworks such as Pyest. So in this role, skills like exception handling and [11:23] file handling are especially important because they help create reliable tests, handle failure smoothly, and generate meaningful test results. While loop concepts are useful, the focus is more on writing efficient automation scripts [11:36] you're targeting DevOps engineer, then Python acts as a glue code automating infrastructure tasks like deployment and monitoring. You will use args, keyword args, and error handling heavily while [11:48] scripting against cloud APIs and parsing logs or config files. Now, let's explore how Python fits into each career path. If you're targeting for business or technical part is little here, but Python still gives an edge. Basic pandas [12:02] for filtering and summarizing data. Plus automating recurring reports means you're less dependent on a developer for every small data pool. The common thread here is every role draws from the same foundation. Data structures, control [12:15] flow, functions, and error handling. What changes is the library layered on top and how deep the interviewer expects you to go. So one thing you should require you to master every part of Python. A strong foundation, practical [12:30] willingness to learn specialized libraries are what truly makes a libraries are what truly makes a difference. differently. So, instead of me just listing questions and answers, I want [12:46] you to treat this like a real interview. So, for each question I ask, pause the video for a few seconds, think through your own answer first, and then I will walk through mine. So that's how you actually build interview reflexes not by [12:58] cover important Python theory concepts this lesson which will test your understanding of Python fundamentals and problem solving skills. Remember interviewers are not only checking [13:10] also evaluating how you approach a problem and explaining your reasoning. So now let's begin. So the first question is what is the difference between a list and a pupil? Take a second. How would you answer this if I [13:23] asked you right now? Here's how I'd frame it. Lists are mutable. Tupils are immutable. That means once you create a pupil, you can't change its content. Because of that immutability, pupils are also slightly faster and hashable, which [13:36] means you can use them as dictionary keys. But you can't do that with a list. This last point shows depth beyond the textbook answer. Second question, what are Python's mutable and immutable data types? Mutable types list, dictionary, [13:49] set and immutable types are integer, float, string, pupil. A good way to remember this, if you can change it in a place without creating a new object, then it is mutable. Next question. What is the difference between is and equals [14:02] to? This one is little tricky because equals to checks if two values are equal and is checks if two variables point to the exact same object in the memory. You can have two list with identical contents where equals to returns true [14:16] but is returns false because they are two separate objects in the memory. between a set and a dictionary? A set stores unique unordered elements with no associated values. A dictionary stores key value pairs. Both use hashing [14:30] internally which is why both offers fast lookups. Next question. What is the difference between append and extend functions? Append adds a single item to a list even if that item is itself a list. It gets added as one nested [14:43] element and extend function takes an iterable and adds each of its elements individually to the next list. Now let's move into the next question. Can you explain list comprehension with an example? Try it yourself. Try writing [14:56] one in your head right now. Say squares of numbers 0 to four. So instead of writing multiple lines using a for loop and append function, we can generate the same output in a single line. Interviewers often ask this because it [15:09] shows your understanding of writing clean, readable and pythonic code rather style. Next question is what are arguments and keyword arguments? So arguments lets a function accept any number of positional arguments and [15:22] keyword arguments does the same for keyword arguments. They are useful when you don't know in advance how many inputs a function needs to handle. Next question is what is a lambda function? An anonymous oneline function for [15:34] example lambda is x into xar 2. You will usually see these used in line with functions like map filter or sorted. Next question. What is a generator and function? A generator uses the yield keyword and reduces values one at a time [15:49] on demand instead of building the entire result in memory upfront. This is huge for memory efficiency when working with large data sets. Let's move into next question. How does Python 3 handle something like range compared to older [16:02] Python 2 behavior? So in Python 3, range is already memory efficient. It behaves like an iterator rather than generating a full list up front. This is a good moment to show you understand why a design choice was made, not just what it [16:15] does. Next question is, what is the difference between deep copy and shallow copy? A shallow copy creates a new object, but nested objects inside it still reference the same memory as the original. A deep copy creates fully [16:27] independent copies all the way down. This matters a lot when you will work with nested list or dictionaries. A shallow copy can lead to bugs where changing one variable unexpectedly changes the other. Next question is what [16:40] are Python decorators? Functions are gra another function to modify or extend it behavior without changing the original functions code. So common real world uses are logging, authentication checks, timing, a functions execution. Next, [16:53] what is the difference between static method and class method? So a static method does not access a class or instance at all. It is basically a regular function living inside a class. A class method takes class as its first [17:05] argument and can access or modify class level state. Next, what is method overriding? When a child class redefes a method that already exists in its parent to the child is called method overriding. What are Python's exception [17:19] handling keywords? Try, except, else, and finally. A good follow-up point to add. Finally runs no matter what, whether an exception was raised or not, which makes it ideal for cleanup code like closing a file. Let's move into [17:32] next question. What is global interpreter log or GIL? It is a mutex that allows only one thread to execute Python bite code at a time even on multi-core systems. This comes up when interviewers want to test your [17:44] understanding of Python's limitations with true parallelism. A great answer mentions that this is why CPU bound task often use multipprocessing instead of threading in Python. Next question, how does Python manage memory? So through [17:57] garbage collector that cleans up circular references, reference counting alone can't catch. What is the difference between a module and a package? So, a module is a single.py file. A package is a directory [18:10] containing multiple modules along with an init.py file that tells Python to treat that directory as a package. Next question, what is PP8 and why does it matter? So, it's a Python's official style guide covering naming conventions, [18:24] indentation, line length, and more. It matters because readable consistent code is easier to review and maintain and many companies explicitly check for PEP8 compliance during code review rounds. So now I hope you understood the [18:38] fundamentals of Python and the questions that may arrive in your interview. Now let's move our hands on. So now let's move to hands-on. [music] [18:51] some of the commonly asked Python questions and let's see how to approach them. So first and most asked question is about reversing a string without slicing. So for that we just have to follow a simple method. For that uh we [19:06] have to first write a function that takes in a string. So just let's just call that string as s. So def reverse [19:22] string. This is where we're going to build a reversed word. So we'll loop through the string one letter at a time. So instead of adding the letter at the end like normal, we are adding it in the front every time. So basically whatever [19:35] comes ends up last. That's the goal of our code here. our code here. Result [19:49] It will once the looping is done, it'll return whatever we have built it. Now let's also do one with the recussion. So first uh this will be a base case where return it like there'll be nothing to reverse there. So def reverse [20:14] recursive. Let's just give cap. So if length of s equals to zero, that is length of the string is zero, then it will return us s the string. So basically the trick that we're following here is we'll take everything except the [20:28] part first and then we'll just track that first letter into the end. So it keeps doing that over and over until there's nothing left. That's how we'll get the reverse of a particular string. Now let's just give few examples [20:46] Now let's just give few examples print. can add any word. I'm just giving it Python. So another bracket. So let's [20:59] just see. So it just came out completely flipped. The hello and Python as well. So both ways give us the same result but they both are different approaches. So this is a recursion approach and this is the normal approach that you can follow. [21:12] So this is about our first code that is reversing a string. Now let's just go ahead and go with the second one which is finding go with the second one which is finding duplicates [21:29] oftenly asked question. You just have to keep few logics of the code in mind and keep few logics of the code in mind and then you can ace the interview. So as this is the same first we have to define the function and then I'm going to use [21:44] here two sets one to keep track of everything I've already seen and then one to actually store the duplicate values. So find duplicates. values. So find duplicates. Let's just go with nums [21:58] Let's just go with nums and then [22:15] will obviously be a duplicate. But if it is not then we'll just add it to the scene set and then we'll move on to the next one. So for that we have to write a for loop logic where we'll define num in nums [22:31] and then if num is in scene then duplicates will add to num [22:44] will add to num otherwise [22:57] back to a list before returning. So it's executed. We can just add a example here to check if the code is actually working. working. Print find duplicates. [23:16] I'm just giving a random numbers with duplicates in it. So it has given us the exact duplicates. The duplicates here are 1, two, two is repeated, one is repeated and five is repeated. Three and four are not repeated. It has excluded [23:28] that. So the code is working. This is how you write the duplicates in a list code. This hardly takes 2 minutes if you understand the logic that we have built here. So questions like these will help you understand how to write and how to [23:42] like come up with a good approach in an interview. They'll just ask you like the basic questions which will they want to test your understanding. So they'll just ask you questions like this and not go indepth questions. Uh questions like [23:57] this will help you is your interview. And the next one is check if a string is paral. This is a universally asked question and very important question. [24:15] two pointers. One will start from the beginning and one from the end. Since it beginning and one from the end. Since it is a palent row. [24:38] haven't crossed each other in the middle. At every step we just have to check if the letters on both ends match. So paralom is nothing but uh if you if it's a word palendrome then even from the end it should sound similar. So for [24:51] the end it should sound similar. So for example here uh if you write madam example here uh if you write madam then as you can see from uh the end also it sounds similar madm and from the starting also mm as well but palendrome [25:05] starting also mm as well but palendrome is not in that way. So it should return is not in that way. So it should return true if we give a palendrome word and false if it is not. That is the goal of the particular code. So at every step [25:18] we'll just have to check if the letters on both ends match. If they don't then we are done. It's not a palent row. So for that we'll go with if for that we'll go with if s of left is not equal to string that is [25:34] s of left is not equal to string that is on the right. then you have to return false left plus equals to 1 and right left plus equals to 1 and right minus = to 1. So if they do match then [25:50] we just have to move both the pointers close to the middle and we get through the whole thing without any mismatch then it's a palent row then we have to return it as true. We can just give an example. [26:02] example. So I can try with another as well. Yeah. So the output should be like true, false and then true. So syntax is [26:18] invalid. I guess it's indentation. So it should be here. [26:30] So the left and right should come under if and the return statement should come under the while loop. Then only it will return the output. So as you can see here there was some indentation error. So make sure the [26:45] indentations are true when you're executing in Python. So when we've executed it, it has shown us the exact output that race car is a palendrome and hello is not and madam is also a palendrome. That is how palenrome works. [27:01] And the next one which we're going to execute is to count frequency of each execute is to count frequency of each word in a particular sentence. [27:24] So I'll just uh make sure to lowerase everything so that this and this will not be counted separately. So if it is lower case and if it is uppercase it should be counted as one. That's why first let's just put it in lower case. [27:38] first let's just put it in lower case. Let's just give it a logic. The Let's just give it a logic. The frequency words equal to sentence frequency words equal to sentence dot lower dotsplit. [27:51] Now empty dictionary here to store word and count frequency equal to and count frequency equal to then for word in words [28:07] going to check what count it's correctly using. So this I'm going to use a dot get function. So if it's not there yet, if it's not there yet in the code, then it just defaults to zero and then it will go up by one. Frequency of word [28:24] equal to frequency dot get word + one. Then we're going to return the + one. Then we're going to return the frequency. [28:42] We're going to test test it. print Python is great and Python [28:57] is fun. So it should give us the output in such a way that this should be two in such a way that this should be two and this is is and this is normal. and this is is and this is normal. This is also normal and and is also ones [29:12] only. So, Python, Python should be written as two basically. So, so as you can see here in this sentence, Python and the word is is repeated twice [29:24] and everything is else is repeated only once. So, Python is repeated twice is is repeated twice. Great one and one fun is one. So, this is correct. Next one which one. So, this is correct. Next one which we're going to go ahead and execute is [29:40] swapping a particular number which just takes 2 seconds of your time to write takes 2 seconds of your time to write the code without a temporary variable. [29:54] So let's just set a and b variables as 5 and 10. Let's suppose we just have to slap so that a will be 10 and b equal to 5. So a comma I'm very sure all of you know this code. This is the first thing you'll be learning when you learn a [30:07] you'll be learning when you learn a particular programming language. So particular programming language. So yeah if you just print a and b then yeah if you just print a and b then you're going to get the reverse [30:20] numbers a is equals to 10 and b equal to 5. So a is equals to 10 and b equal to 5. So that is done. Next is let's go ahead and build factorial using recussion. So factorial of 0 or 1 is just one as you [30:34] know. So factorial of 0 and one is just one. So def factorial [30:52] then you have to return 1. else return n into fact of n minus one [31:10] factorial of any given number let's say five. [31:23] a logic which says that uh multiply n factorial by one less than the number. So basically it keeps calling itself smaller and smaller until it hits that base case which we've given that is factorial of 0 or 1 will be equals to [31:37] factorial of 0 or 1 will be equals to one. So when it returns this uh it goes through the if if loop and then if it is n or 0 or one it will return one return the factorial of a particular number that we have given. So factor of [31:52] five is 120. So as you know factorial is nothing but if a given if a given number is let's say suppose five. So it'll just multiply 5 into 4 into 3 and then into 2 [32:07] and then into 1. So if you do all this 5 into 4 is 20 20 into 3 is 60. 60 into 2 is 120. 120 should be the answer and it has given us 120. So let's go ahead with [32:20] duplicates duplicates from a list [32:41] So this is our seventh question. So we're just going to define we're just going to define remove duplicates [32:54] here which says return list of dictionary from so what happens here is so this code which I've written here that is d from keys and nums it basically turns every [33:10] item into a dictionary key. And since keys can't repeat, the duplicates just vanish automatically. And because dictionaries keep insertion order, the original order stays intact like without moving or without changing. So we'll [33:23] just wrap it in list and then we're done. We can execute it. Let's just give done. We can execute it. Let's just give some random numbers. [33:40] three and one. So it has given us three and one only once. So it has removed the duplicates and given us it's just three lines of code which will just take you 2 minutes if you understand the logic [33:52] here. So this is the whole point of using this uh line here because if we use set set function then it will just mess up the order. We can just write one line of this code and then it will just give us the order correctly without [34:08] changing everything without messing anything. And the next one as you all know it's a very easy question that is know it's a very easy question that is checking if a number is prime. [34:26] prime of n [34:41] So just we'll just take it off uh we'll just return it as false. So let me tell you a shortcut for this. We just have to check up the square root of n. So if for [34:53] check up the square root of n. So if for i in range. [35:05] So now if n percentile 1 i n percentile i equal to percentile 1 i n percentile i equal to equal to zero equal to zero then it should return false. [35:32] the next should be false. Yeah, this is how you run the prime Yeah, this is how you run the prime code. Next, we're going to merge two code. Next, we're going to merge two dictionaries. [35:57] just going to define two dictionaries. Dictionary one is Dictionary one is A is one and then and then we'll put B A is one and then and then we'll put B as three and then C as four. Now I'm [36:13] going to merge them. I'm going to write something here that is I'm using a double star take one comma. [36:27] star is it's just it just dumps everything into like both the dictionaries into a new one. So dictionary one here it goes in first and then the dictionary two will go and since B variable is in both the [36:40] dictionaries whichever goes in last will win. So dictionary value the dictionary B value will overwrite it. So first it'll be 1 2 and 3 and four. But since B is in both the dictionaries it will overwrite it. So it will be as 1 3 and [36:55] four. But if you give two variables like a b c and d then it will give 1 2 3 and unique scenario here. Different scenario. You can also use the update function. Basically it is also the same. it will merge. But here the dictionary [37:11] one goes in first then the dictionary is two and then since B is in both. So you can also use the update function here which does the same thing basically but it merges both the dictionary one and two directly instead of making a new [37:24] dictionary. So dictionary one dictionary one dot let's [37:46] So as you can see here you got I've explained it to you. This will override this one 1 3 and four. So the two will be missing. Now if we just give another be missing. Now if we just give another variable here B and C and D here. Now it [38:01] 3 and four. So that is merging two dictionaries. Now So that is merging two dictionaries. Now the last one is let's just go a little deeper. This is a fsbuzz game. So fsbuzz is basically it's a programming [38:16] is basically it's a programming challenge and it's a word game. It's a word game where you count from 1 to 100 and replacing numbers divisible by three with the word fizz. So you will count from 1 to 100. And [38:31] So you will count from 1 to 100. And then if it is divisible by three, divisible by five should be replaced with buzz. Like 3 6 9 [38:46] 12 should be replaced by fizz. And 5 10 15 20 these like these numbers should be replaced by buzz. And if it's divisible by both [39:01] by both three and five, then it should return fbuzz. So it's like a game. Now let's start writing a code for this. First let's just define a function [39:19] f of n. And I'm just looping from one all the way to n. So for i in range 1 comma n + 1 i percentile n + 1 i percentile 15 equal to equal to0 [39:34] 15 equal to equal to0 then it should show fsb bus. So I'm just writing this condition first because 15 is basically three and five combined like 3 into 5 is 15. So if I checked three or five first if I want to check [39:48] three or five first if I want to check the numbers three and five first this 50 number will be printed as f and it will never get the chance to say fsbuzz. So first this condition should be met and then we'll go to three and five. So we [40:02] then we'll go to three and five. So we have to print fs bus else l if uh this have to print fs bus else l if uh this is pretty simple. If I percentile is pretty simple. If I percentile 3 = =0 [40:33] equal to equal to zero then you have to print bus [40:45] I. So we're just telling it to check three by itself and by by five by itself and if none of that matches then just print if none of that matches then just print the number as it is. So let's just give [40:58] an example f bus So 1 2 and three will be fizz and five is buzz and six is f 7 8 9 10 11 12 13 [41:14] is buzz and six is f 7 8 9 10 11 12 13 14 15 will be f bus. So the order is 14 15 will be f bus. So the order is exactly correct. 3 and six will print f and 5 and 10 will print bus and at the end like in the 15 we get both the [41:27] conditions that is three and five is bus. So that's literally why we used 15 like the condition for 15 in the starting. So I hope you understood these little coding problems and so these questions might also [41:41] come in your interview. So just be prepared with few logics and you just have to understand the logic in a programming languages here because as you can see these are not like 20 to 30 lines of code just the logic is written [41:54] here and if you understand that it's pretty simple even if they twist the question and tweak it a little bit and ask you then you can easily understand and execute it right away before them. So I hope you understood these coding [42:07] problems. So throughout this course, we explored why Python is important, how to how to approach common Python interview questions. Now, let's just quickly highlight the key concepts you should continue practicing before your next [42:21] preparations is not about becoming perfect overnight. It is about building consistently, and becoming confident in lesson one we talked about why Python [42:34] roles and what interview ready really means. In lesson two we built a four stage road map fundamentals Python specific concepts apply problem solving and role specific prep and looked at the range of roles this skill set opens up. [42:48] In lesson three we worked through theory and coding questions together the same way a real interview would flow. Here's one thing I want you to walk away with. memorized answers. They are looking for clear thinking. So if you can explain [43:02] your logic while you solve a problem, even if you don't get to the most optimal solution immediately, you're already ahead of most the candidates in concepts, revisit the questions [43:14] regularly and challenge yourself with new problems. Every problem you solve brings you one step closer to becoming a stronger Python developer. Thank you for joining this course and all the best for your upcoming interviews. [43:30] multiple industries because of its simple syntax, powerful libraries, and ability to support different technology domains. We covered a step-by-step approach to prepare for interviews. Starting with Python fundamentals, [43:43] moving to advanced concepts, and practicing real world coding problems, important Python concepts including data types and functions. We explore the essential Python concepts that form the foundation of technical interviews and [43:55] help you write clean, efficient and maintainable code. We practice theory based questions and coding challenges that simulate real interview scenarios, helping you improve both technical knowledge and problem solving ability. [44:07] interviews are not only about knowing answers but also about explaining your thought process, approaching problems logically, and communicating solutions logically, and communicating solutions clearly.