Introduction to Python Module Two Part Four Data Types
dev.to·3h·
Discuss: DEV

We are getting closer to the finish line of Module Two in the SoloLearn course, Introduction to Python. The next topic in this module will focus on data types and data type conversion. In today’s post, you will be able to identify different data types and be able to convert them into different ones you need as you continue to code in Python.

Data Types

Computers work with different types of data, so you must be familiar with them all. You are already familiar with the first type the string. Strings are the data type for text.

Strings are always wrapped in quotes. They can be wrapped in single quotes or double quotes.

print("Hello World")
print('Lucky')

The example above is printing two strings. These are strings because they are wrapped in quotes. The first l…

Similar Posts

Loading similar posts...