Python | Tutorial 9 | Tuple

Posted on Leave a commentPosted in Software

In the previous tutorial, we covered the part 2 of Exception and discussed finally statement, raise exception and assertion. In this tutorial, we will be covering tuple. Let’s get started. SUBSCRIBE to our channel if you haven’t. 🙂 As you know, List is an object that is used to store an indexed list of items. A Tuple is an inbuilt function in Python that is very similar to a list except that they are immutable i.e. they […]

Python | Tutorial 8 | Exception – Part 2

Posted on Leave a commentPosted in Software

In the previous tutorial, we discussed part 1 of our exception tutorial where we told what is an exception and how to handle it. In this final part, we will be covering the additional sections regarding the exception. Let’s get started. Till now, we came to know that while performing exception handling, your program terminates whenever you encounter any sort of error. Now, in order to ensure some code runs no matter what errors occur, […]

Python | Tutorial 7 | Exception – Part 1

Posted on Leave a commentPosted in Software

In the previous tutorial, we discussed user defined function, using which you can create your own function and use it accordingly in your program. In this part 1 of 2 tutorials, we will be covering the basics of exception. Let’s get started. If you have studied C++ or Java, then you must read about the exception. Those of you who haven’t, well it is pretty simple. Exception occurs whenever there is an error in code […]

Python | Tutorial 6 | User-Defined Function

Posted on Leave a commentPosted in Software

In the previous tutorial, we covered range, list, its operation and some list functions. In this lecture, we will cover user defined function. So let’s begin. If you face trouble in understanding, take a look at our video tutorial on YouTube. When it comes to some big problems, it is advised to create your own function and we call it as user defined function. You can create it using the def statement. As mentioned earlier, […]

Python Tutorial 5 : range, List, List operations, List Functions

Posted on Leave a commentPosted in Software

In the previous tutorial, we discussed if-else, for and while loop. We are back to cover the range as specified in the previous tutorial, list, its operation, and functions. So let’s begin. DO CHECK THIS VIDEO! The range function creates a sequential list of numbers. For example, num = range(10) print num -> [0,1,2,3,4,5,6,7,8,9] Here all the integers are printed up to 9. If the range is called with one argument say range(5), then it […]

Python Tutorial 4: if-else, for, while loop

Posted on Leave a commentPosted in Software

In the previous tutorial, we discussed variable, string and string operations. In this one, you know from the title that we will talk about conditional loops. So let’s begin. The first one is if loop, where you can run if statement if a certain condition holds True, else they aren’t. Now, remember that Python uses indentation (i.e. the blank spaces) in order to delimit the blocks of code. This is equivalent to using the curly […]

Python Tutorial 3 : Variables, String and String Operations

Posted on Leave a commentPosted in Software

In the previous tutorial, we discussed data types, some basic arithmetic operations, and type conversion. In this one, we are going to talk about variables, strings and it’s operations. So let’s begin! In any programming language, variable plays a crucial role and Python is no exception. A variable allows you to store a value which can be used later in a program. Variables can be reassigned as many times as you want. The best thing […]

Python Tutorial 2 : Data Type, Arithmetic Operation, Type Conversion

Posted on Leave a commentPosted in Software

In the previous tutorial, we discussed what is Python and how can you install python on your computer. In this 2nd tutorial, we will talk about the basic concepts of data type, some simple arithmetic operations, and type conversion. Let’s get started. Please do have a look at our video. 😀 Once you open python idle, you can write and execute a single instruction and display the necessary output. This is known as REPL – […]

Python Tutorial 1

Posted on 3 CommentsPosted in Software

Python is a high-level, general-purpose, interpreted, dynamic programming language. It was created by Guido van Rossum during 1985- 1990. There are two versions of Python available: 2.7 and 3.3. This course will cover 2.7 Version. Of course, if you wish then you can download and use 3.3 Version. Features of Python Clearly defined and readable since it uses English keywords, simple structure, and a clearly defined syntax (human-like language and NOT machine-level). Python is processed at the […]