python

python

Python 3 program to count the number of blank spaces in a file

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.

Read
python

Python program to find the circumference of a circle

This python program will show you how to find the circumference of

Read
python

Python program to concatenate two dictionaries

Python 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.

Read
python

Write a simple calculator program in Python 3

We 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.

Read
python

Find the total number of lowercase characters in a string using Python 3

In 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.

Read
python

Python 3 program to count the total number of characters in a string

In 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.

Read
python

Swift 4 tutorial : Creating a multidimensional array

In 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 :.

Read
python

shutil module in python 3 with examples

shutil 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 :.

Read
python

Python 3 program to check if a string is pangram or not

In 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.

Read
python

How to use Hashlib to encrypt a string in python

Hashlib 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