Best Laptop

Browsed by
Tag: Python language

Methods in Python Lists

Methods in Python Lists

Hi Friends……Welcome again to our session on Methods in Python Lists. In the previous session, we had a detailed understanding about Python Lists. We will extend this session now to see how we can make use of the lists and some pre-defined methods and functions to be used with Python Lists. Lets start our session on Methods in Python Lists: 1. sort method on integers – Python Lists provides us with an in-build method to sort the list. Instead of…

Read More Read More

Python Tutorial 6 – Use of Input() function

Python Tutorial 6 – Use of Input() function

Today we will study about the use of Python input function – interacting with computer. This function will enable you to get some data from computer. In a way, print function sends data to the console and input function gets the data from console. The data received via input function can be used in the program for further calculations. The data received via input function always carry string data type. To treat the data as integer or float, we need…

Read More Read More

Python Tutorial 5 – Python Operators

Python Tutorial 5 – Python Operators

Let’s begin our another session use of Python Operators and their priority while using them. Below is the list of commonly used mathematical operators mentioned in the priority in which they will be executed: Operator Usage Priority +(Plus) and (-)minus Used as unary operator 1 **(exponential)   2 *, /, //, %   3 + and – Used as binary operator 4 1) Using plus and minus operator in print function print(3+4) = 7print(3+4.0) = 7.0print(5-4) = 1print(10.0-2) = 8.0…

Read More Read More

Python Tutorial 4 – Python Literals

Python Tutorial 4 – Python Literals

Hi Friends, I hope you would have liked the previous tutorial https://itkaksha.com/python-tutorial-3-writing-first-program/ about writing basic Python programs. Let`s now begin this tutorial on Python Literals. Literals are something whose value is determined by the literal itself. They represent some fixed value. For ex: 25 – it’s a literal because 25 defines itself as an integer 10.5 – it’s a literal because it defines itself as a decimal/float number “I love Python” – it’s a literal because it defines itself as…

Read More Read More

Python Tutorial 2 – Basic Programming Concepts

Python Tutorial 2 – Basic Programming Concepts

Hi Friends, Today we we will be discussing about some basic Python programming concepts. We have seen details about what Python language is. We have also seen how Java and Python differ from each other in below Python Tutorial. Refer these tutorials: Now it’s time to put our hands-on actual Python programs. However, before we actually dive into programs, let’s just brush up some of the basic concept generic to any programing language. Basically, they are computer fundamentals. What is…

Read More Read More

Python Tutorial 1 – Python Basics

Python Tutorial 1 – Python Basics

Introduction: Python is widely used programming language now-a-days for a wide magnitude of tasks like general programming, web development, data analysis and machine learning. Thanks to a variety of features, most developers are now moving to python language for their development work. Also most IT professionals are intended to Learn Python Language. Python was founded by Guido van Rossum during 1985-1990. Python is a high level language based on Object Oriented programming model. This means that everything that is coded…

Read More Read More

Python 3.11.1 Features