• Register

Recent posts tagged python-string

14 0 1 min.
Introduction:The function we will explain today is my favorite function known as concatenation. It is used in every programming language. We use concatenation function to connect two strings. String in two variables.  Is appended to the third va...
posted Jul 24 Tania 800 points
19 0 1 min.
 Overview :Whenever we learn something new in Python, it is important that you first create a program and practice it so that you are satisfied that we have practiced this function after reading it, such as when we memorize a lesson in school.&n...
posted Jul 14 Tania 800 points
21 1 1 min.
Check if element existsFor this we use the in operator , which returns a Boolean indicating the existence of the value within the array. A) Yes:list = [1, 50, 30] if 50 in list: # Print below print ("The number 50 exis...
posted Jul 5 amna 113,234 points
20 0 3 min.
ContentsOverviewAI project in pythonOverview One of the things you must have to learn Python is time. We are using artificial intelligence to change this world. And to get this support we need to know programming language and  It is importa...
posted May 30 Tania 800 points
0 0 1 min.
Append ( ) in python Anyone who is learning programming will have seen the append function in most of the programs. Most of the students will not know about it and will know more about this function. Append means that we have an element in our list...
posted May 12 Tania 800 points
0 0 5 min.
We can write strings in double or single code. Strings are a special form of data that can be used in any programming language.  Many other programming languages ​​actually use strings internally as an array of letters. But this fact is hidden f...
posted May 7 Tania 800 points
0 1 1 min.
Python enter keyToday's tutorial is very important which we will explain in kodlogs. In which all programming language issues are highlighted. Today's topic is about inter key in python. Friends, any programming language is incomplete without...
posted May 1 Tania 800 points
0 1 1 min.
repr() in pythonToday we will see in our website Kodlogs what is repr ( ) function in python and how it is used.Most of the students i have seen are getting confused in class function .It should be known that whatever output from repr function will ...
posted Apr 25 Tania 800 points
0 1 1 min.
Overview how to append to a list Today we will see in our website kodlogs what is the oppend function in python and what works. No need to worry. I will explain it to you in a very easy way. Will learn to use. This also happened to me when I went...
posted Apr 25 Tania 800 points
0 0 2 min.
Overview Array in pythonToday we will see in our website Kodlogs how to use array in python .Friends string is alsoactually a character type array.Today in kodlogs we will first read about array than talkabout strings.Suppose you have many variables ...
posted Apr 25 Tania 800 points
0 0 2 min.
Overview format to two decimal placeIn today's tutorial ,we will introduce data type in our website.There are three main types of data type integers,character and float commonly used.Friends,you will know that the print function in python is a si...
posted Apr 22 Tania 800 points
0 0 1 min.
Dictionary to numpy arrayToday we will see in our website kodlogs how to use dictionary and numpy array inPython.For more information like this you can visit our website kodlogs where you can findinformation of all programming languages.If you want t...
posted Apr 21 Tania 800 points
0 0 1 min.
How to round decimal placesToday we will see in our website kodlogs what is the function of round function inpython.Most of the students do not understand  these decimal numbers at all whileprogramming.There is a very easy way that Tania will te...
posted Apr 21 Tania 800 points
0 0 1 min.
OverviewToday we will see in our website Kodlogs how to fix the error in Python.Programming becomes very difficult to learn. When you do not know the small things.Even a big programmer makes a mistake because programming someone also in the language ...
posted Apr 21 Tania 800 points
0 0 1 min.
 How toCreate a directory in pythonMan is human nature to knowingly or unknowingly depend on other people.Despite this, man is an intelligent  and  noble creature.He cannot do all the work of his life on his own.And in some way depend ...
posted Apr 20 Tania 800 points
0 0 1 min.
How to create a folder in python Today we will see in our website kodlogs how to create a folder in Python. When we are creating a program in Python, we are saving all of them.  We often save on the desktop or in a folder. When a lot of pro...
posted Apr 19 Tania 800 points
0 0 1 min.
List Comprehension in python Today we will see in our website kodlogs what is list comprehension in Python. It is a compact code which is of single line. If you are learning any programming language then you will understand quickly. From other lang...
posted Apr 19 Tania 800 points
0 0 1 min.
Tab size in python Today we will see in our website kodlogs what is the default tab size in Python programming language. According to my preference, there are 4 spaces in pycharm. Python is considered to be 8 default tab size.  python ...
posted Apr 18 Tania 800 points
0 0 1 min.
 Overview stdin in python In this tutorial, we will talk about how to read input from stdin module today. Keyboard and monitor screen is generally considered as standard input and output. Standard error is where error is detected.  The...
posted Apr 17 Tania 800 points
0 0 2 min.
 Find a string in a file in python Today we will see in our website kodlogs how to find the strings in a file in Python programming language. For this you have to use loop whether there are strings in the file or not.  Perform a set of...
posted Apr 17 Tania 800 points