Dictionary in python

A Python dictionary is a data structure that stores the value in key: value pairs. Example: Here, The data is stored in key: value pairs in dictionaries, which makes it easier to find values.…

0 Comments

String in python

A String is a data structure in Python Programming that represents a sequence of characters. It is an immutable data type, meaning that once you have created a string, you…

0 Comments

Taking input in Python

Developers often have a need to interact with users, either to get data or to provide some sort of result. Most programs today use a dialog box as a way…

0 Comments

type function in python

The type() function is mostly used for debugging purposes. Two different types of arguments can be passed to type() function, single and three arguments. If a single argument type(obj) is…

0 Comments

Variable in python

Python Variable is containers that store values. Python is not “statically typed”. We do not need to declare variables before using them or declare their type. A variable is created…

0 Comments

Basic syntax of python

Let us execute a Python program to print "Hello, World!" in two different modes of Python Programming. (a) Interactive Mode Programming (b) Script Mode Programming. print('hello') a = 10; b = 20;…

0 Comments