Skip to content

Tag Archives: Python-Data Type

In computer science, a data structure is a logical way of organizing data in computer memory so that it can be used effectively. A data… Read More
Prerequisites: Python Data Types Type Casting is the method to convert the variable data type into a certain data type in order to the operation… Read More
Number data types store numeric values. They are immutable data types, which means that changing the value of a number data type results in a… Read More
In this article, we will see about the concept of Truthy and Falsy values in Python and also see how to determine a value is… Read More
Prerequisites: Python Data Types Type conversion is the process of converting one data type to another. There can be two types of type conversion in… Read More
The del keyword in python is primarily used to delete objects in Python. Since everything in python represents an object in one way or another,… Read More
In Python an integer can be converted into a string using the built-in str() function. The str() function takes in any python data type and… Read More
Python is a dynamically typed language, which means you never have to explicitly indicate what kind of types variable has. But in some cases, dynamic… Read More
The float type in Python represents the floating point number. Float is used to represent real numbers and is written with a decimal point dividing… Read More
Every variable in python holds an instance of an object. There are two types of objects in python i.e. Mutable and Immutable objects. Whenever an… Read More
Python byte() function converts an object to an immutable byte-represented object of given size and data. Syntax : bytes(src, enc, err) Attention geek! Strengthen your foundations… Read More
Python variable assignment is different from some of the popular languages like c, c++ and java. There is no declaration of a variable, just an… Read More
What data type is the object below ? L = [1, 23, ‘hello’, 1] (A) List (B) Dictionary (C) Tuple (D) Array Answer: (A) Explanation:… Read More
Which of these is not a core data type? (A) Lists (B) Dictionary (C) Tuples (D) Class Answer: (D) Explanation: Class is a user defined… Read More

Start Your Coding Journey Now!