-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Full Stack FastAPI, React, and MongoDB - Second Edition
By :
The different types present in a programming language define the language itself—they define its boundaries and set some ground rules for what is possible and, more importantly, what the recommended way of achieving something is. Different types of variables have completely different sets of methods and properties available. For example, while capitalizing a string makes perfect sense, capitalizing a floating number or a list of integers doesn’t.
If you have used Python for a while, even for the most mundane tasks, you already know that, like every programming language, it supports different types of data—strings and different numerical types such as integers and floats. It also features a rather rich data structure library: from dictionaries to lists, from sets to tuples, and so on.
Python is a dynamically typed language. This means that the type of a variable is not determined at compile time, but at runtime. This feature gives the language...