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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help