• Register

Recent posts tagged python

6 0 1 min.
How to print a list in python without the bracketsI have a list in Python e.g.letters = ["t", "h", "e"]I want to print the array in a single line without the normal " [] names = ["t", "h", &...
posted May 22 Sanjana Sagar 499 points
6 0 1 min.
How to print a string and a variable in pythonMake use of String Concatenation String concatenation is when you add two strings together. Observe that while concatenating there will be no space between the strings. The print statement has b...
posted May 22 offonime 468 points
6 0 1 min.
How to activate python virtual environment in windowsThe setup processThere are 4 thingsi usually do when I want to install a virtual environment on windows: You need to  Install Python, then you   Install Pip and then you  &...
posted May 22 offonime 468 points
3 0 1 min.
Difference between pop and remove in pythonremove() delete the matching element/object whereas del and pop removes the element at a specific index. del and pop deals with the index. The only difference bet...
posted May 20 Sanjana Sagar 499 points
0 0 1 min.
Numerical python for 2.7 Installation On Windows Operating System 32 bitPython isn't introduced naturally in Windows working outline. You can download the necessary version of python from python.org. Whenever python is introduced effectively, ope...
posted May 20 amna 113,233 points
0 0 2 min.
Concerning the principle question for Delete key value from dictpy, you'll need to make a duplicate of your word reference, to save the first word reference and have another one without the key being Delete. Some others here recommend making...
posted May 20 amna 113,233 points
0 0 1 min.
You can eliminate copies or duplicates from a Python utilizing the dict.fromkeys(), which produces a word reference that eliminates any copy esteems. You can likewise change a list or rundown over to a set. You should change over the dictionaries e o...
posted May 19 amna 113,233 points
0 0 3 min.
Programming data structures and algorithms using python The knowledge of Data Structures and Algorithms forms the base to identify programmers giving yet another reason for tech enthusiasts to get a Python Certification. While data structur...
posted May 19 Sanjana Sagar 499 points
0 0 1 min.
You are given two complex numbers, and you have to print the result of their addition, subtraction, multiplication, division and modulus operations.User has to enter real and imaginary numbers with space and output has precision upto 2 decimal places...
posted May 17 sanchi 100 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 1 2 min.
List ComprehensionPython lists are the most flexible data structure you can find anywhere. It can be used to store int(s), float(s), string(s), other lists, dictionaries, and even class objects. List comprehension provides you a way to make the ...
posted May 9 Amit Kumar 100 points
0 1 1 min.
List & ArrayToday's topic is very important, what is the difference between a list and an array in programming. If you are learning programming, you must have learned a lot about arrays. There is not much difference between them.  When I...
posted May 8 Tania 800 points
0 1 2 min.
 How to count number of items in list pythonToday we will talk about the new function of the list, which many programmers are still unfamiliar with. In this tutorial, we will see in our website kodlogs what the function of the list count works i...
posted May 8 Tania 800 points
0 0 1 min.
 Today we will see in our website kodlogs how we work in the dictionary in Python. Friends, you will have heard the name of the dictionary most of the time. There are keys in the dictionary. Next it means value. This kind of data structure was a...
posted May 8 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 4 2 min.
What is this book about?This book covers the fundamentals of data structure and algorithms. To understand the data structure you must learn three things:How the information is placed in the memory of the computer.What is the algorithm for manipu...
posted May 7 Tasnia Sultana 161 points
0 0 2 min.
Installing Python:In the first step, you need to install the latest version of Python. For this purpose, open the terminal of CentOS and run the following command.# yum install PythonSetup Virtual Python Environment:Before starting, install a virtual...
posted May 5 afnsidik 140 points
0 0 2 min.
Introduction Today we will see in our website kodlogs whether there is a variable integer in Python or not. It is very easy to check whether the variable is an integer or a float in Python. In today's article Tania will tell you some ways in kodlog...
posted May 4 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 0 1 min.
Answer with explainationThe first line of the function definition is called function header.Rest is called body. Header is the part of the function which the most initial line in a function.It can be assumed as the heading of a function giving a...
posted Apr 29 sanchi 100 points