filmov
tv
Python String Formatting
Показать описание
In this video, we have explained string formatting in python. The string formatting is a very important task of any type of programming language. It helps the user to understand the output of the script properly. The string formatting can be done in Python in various ways, such as using ‘%’ symbol, format() method, string interpolation, etc. Two types of formatting parameters can be used in Python. These are positional parameters and keyword parameters. The parameter which is accessed by the index is called the positional parameter and the parameter which is accessed by key is called the keyword parameter. The uses of these parameters are shown and explained in this demonstration. So in a nutshell, four types of string formatting ways of Python are explained in this video. The new python programmers will be able to perform string formatting related tasks easily after watching this video.
#Python #Linux
#Python #Linux