In this tutorial, we will learn how to find the total number of blank spaces in a text file. This program will teach you basic file operations in python. You will learn how to iterate the lines of a text file and how to read each word and each character for each line.
ReadThis python program will show you how to find the circumference of
ReadPython program to concatenate two dictionaries. Python dictionaries are unordered collection. Python dictionaries are used to store key-value pairs. Dictionaries are written in curly brackets {}. All items are placed inside the curly bracket separating each value by a comma.
ReadWe will learn how to create a Calculator using python 3. The program will read the inputs from the user continuously and based on the user input, it will perform some calculations. We are going to create only a simple calculator that can perform addition, subtraction, multiplication and division.
ReadIn this python tutorial, we will learn how to find the total number of lowercase characters in a string. The user will enter one string, our program will count the total lowercase characters in that string and print out the result.The string can contain a mix of characters, numbers and any other special characters.
ReadIn this example, we will learn how to write a Python 3 program to count the total number of characters of a string. The program will take one string as input and it will print the total count of all characters available in the string. We are not going to count any space, tabs or newline.
ReadIn this tutorial, we will learn how to create a multidimensional array in Swift 4. Multidimensional array means array of arrays. That is each element of an array is also an array. Let's take a look how to create multidimensional array in swift :.
Readshutil module contains a number of different file operations like copying and deleting files. But one thing we should remember that methods of this module cannot copy all file metadata . On windows, file owners, ACLs and alternate data streams will not be copied. Let's take a look into some uses of this module :.
ReadIn this tutorial, we will learn how to check if a string is pangram or not using python 3. A pangram string contains every letter of a given alphabet.
ReadHashlib module contains different types of secure hash algorithm methods. You can use these methods directly to create hash of different values. In this tutorial we will learn how to use hashlib module with a simple example.
Read