Python: Part Four - Deepstash
Python: Part Four

Python: Part Four

1 IDEA

156 reads

Python: Part Four

🚶 On a walk

Keep reading for FREE

Learning Python: More on printing and variables

In this part we will be going over more on variables and printing them.

So let's make a variable and give it the value of 10, so it should look something like this X = 10, X could be any word really just not a reserved word, here is a link to a website with alot of reserved words that can't be used https://realpython.com/lessons/reserved-keywords/. 

and scroll down a little and you will see key words.

Once you have the variable made let's print the variable.

So like before very simply print(x), as you can see in the image above. Now lets run and se the output which in this case be 10.

10

156 reads

3

It's time to
Read like a Pro.

Jump-start your

reading habits

, gather your

knowledge

,

remember what you read

and stay ahead of the crowd!

Save time with daily digests

No ads, all content is free

Save ideas & add your own

Get access to the mobile app

2M+ Installs

4.7 App Rating

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