How Immutable Is Different from Mutable Types, In python Programming

Mutable are those which could be edited after it is defined for example list whose elements can be edited even after defining, whereas in case of immutable we can not edit them for example String. What is Mutable? Mutuable are those data Types that can be edited after Declaration For example once a datatype is … Read more

What is indexing, iterating and enumerating in python?

What is indexing, iterating and enumerating in python?

Indexing “Indexing” means addressing an element of a sequential object by its position within the sequential object.  A sequential object is in general, an ordered collection. In python, every element of an ordered collection is accessed based on their position in the collection. An index is a numerical form of position. Python uses square bracket … Read more

Reverse Digits of an integer – Python Program – One of Most Common Interview Question

Python program to reverse a number, reverse digits of a number, reverse integer, python programs, python programs to reverse a number, basic python programs. Reverse Digits of an integer –  One of Most Common Interview Question Problem  – Write a Python program to reverse digits of an integer. Example 1 : Input : 123, Output … Read more

%d bloggers like this: