Insert into a Linked List and iterative method to traverse a Linked List in C++

Our aim is to Insert into a Linked List, and traverse the linked list from the beginning until the node becomes NULL,i.e until we have gone through all the elements in the Linked list and we also intend to print each element of the Linked List while we traverse it. Insert into a Linked List … Read more

5 Best Way to Learn Python Programming Language From Scratch

5 Best Way to Learn Python Programming Language From Scratch

Best Way to Learn Python Programming Language: Hello Everyone, Today I am going to share with you how to learn the Python programming language. If you are new to the programming world and want to learn Python programming, I am here to help you. Learning Python programming language is not easy, you have to make … Read more

Keyword Arguments in Python

In the previous article we looked at the usage of default arguments ..now we will look at what is the purpose behind the utilization of keyword arguments in Python. The arguments we have discussed so far, they were either default or positional arguments. Let us understand positional and keyword arguments with the help of an … Read more

Parameter Passing in Python

In the previous article, we have explored variable length arguments, now we will look at Parameter Passing in Python. When we pass a parameter to a function, how is it passed? Does it contain the same reference to a variable or a different variable, if we make any changes to this variable is it reflected … Read more

How Functions Work in Python

In the previous article, we discussed the applications/advantages of using Functions in Python, now we will examine how functions work in Python. Before we delve further let us look at an example program. What would the output of the above code look like? Analyzing How Functions Work in Python The program from earlier would result … Read more

Escape Sequences and Raw Strings in Python

In the previous article we saw some string programs to demonstrate common characteristics of Strings in Python, now let us examine the concept of escape sequences and raw strings in Python. Imagine the below statement as part of a program The program fails to execute simply because the apostrophe interferes with the program’s syntax where … Read more

Default Arguments in Python

In the previous article we saw the internal logic of Python functions and how they work. Now we will take a look at the Default Arguments in Python. Default arguments exist when the functions do not require values to be passed to them or the function accepts certain values even in the absence of user-given … Read more

Find First Digit of a Number Python program

In the previous article, we explored Global Variables in Python, now we will look at how we can obtain the first digit of any given number. We have also seen how we can obtain the last digit of a number in an older different article. For example, if the input values are: 7549: It should … Read more

Functions in Python

In the previous article, we saw how we could optimize code for two different problems. There is another way in which we can increase the effectiveness of code, that is true the use of in-built functions or user-defined rather than the use and repeat of long lines of code. So in this article, we will … Read more

String Formatting in Python

In the previous article, we saw the use of escape sequences and raw strings now let us discuss Formatted Strings in Python, When we want to print formatted data, suppose combining multiple strings we can use the + operator. While something like this would work in practice, it would require a lot of plus operator … Read more