Learning Python: Python Datatypes - Deepstash
Learning Python: Python Datatypes

Learning Python: Python Datatypes

Now we have a python file open, lets starting learning how to program in python. Firstly we need to look at the types of data that we will see, in this case there are 4, first one that i am showing is int which mean integer and this is a whole number, so now decimal place. Next is a float, this is a number but with the decimal place, next we have a bool which means boolean, this value only has to types, either True or False, lastly str which means string and this is referencing anything in a pair of quotation marks for example "Hello" this is a string.

6

28 reads

CURATED FROM

IDEAS CURATED BY

samuelbancroft

Keep reading, keep studying, the more you learn the more you change. If you are doing the Python lessons please join this discord channel https://discord.gg/kugXx9KY but please follow the rules

Similar ideas to Learning Python: Python Datatypes

Learning Python: Basic Mathematical Operators error

Learning Python: Basic Mathematical Operators error

So as you can see from the image we are using 2 variables, x and y. Like in the previous lessons explained about variables, x contains the string Hello World, what makes it a string is " " the use of these quotation marks. Next in y there is a integer value 10. Then i am adding them both together...

Learning Python: Setup

Learning Python: Setup

The first thing we need to consider when starting to learn a programming language, is what shall we use. There are a few things we can use, for example python IDLE, pycharm, VS code, notepad++, anaconda or Google Colab.

For these lessons I would recommend pycharm. But first we need to insta...

Python data processing with pandas

Pandas is a Python language package, which is used for data processing. This is a very common basic programming library when we use Python language for machine learning programming. This article is an introductory tutorial to it. Pandas provide fast, flexible and expressive data structures with t...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates