Variables - Python | Lesson 3 (Free Coding Bootcamp)

Veröffentlicht am: 03 Dezember 2021
auf dem Kanal: Code with Vincent
18,353
517

Free Coding Bootcamp - Go from Zero to Software Engineer

This Bootcamp will follow the roadmap covered in this video
   • How to become a software engineer with no ...  

In this lesson, we learn about variables and how it can be used to store a value.

To assign a value to a variable, we use an equal sign:
ex) myName = "Vincent"

There are 2 styles of coding: (Camel Case is the most used)
Camel Case: all words joined together, where each subsequent word's first letter is capitalized.

ex) myNameIs, theBigBrownFox

Snake Case: replace spaces with underscores

ex) my_name_is, the_big_brown_fox

There are many types for values, in this video we talk about 4 of them:

Strings: Sequence of characters
ex) "Hello World", "Cash Money $$$!@#@#@"

Integers: Any non decimal number
ex) 1, 0, -1

Floats: Any decimal number
ex) 3.14, 12.32, 123123213.1

Booleans: Either True or False

Pro Tip: If you don't know what something is, just print it!
If you don't know what the value is for a variable, you can print it:

myName = "Vincent"
print(myName)

You can also get the type of the variable or value with:
type(...)

ex)
myName = "Vincent"
print(type(myName))
print(type(123))

🔥 Drop a comment to help the algorithm :)
👍 Subscribe to get notifications for the next video
👉 Full Series Playlist:    • Python - Intro to Programming | Zero to So...  

-----------------
😎 Resources
-----------------
👯 TikTok
📸 Instagram
💬. Join the Discord
📜. FREE Resume Template
📕. FREE Note taking template
https://beacons.ai/codewithvincent

We will be using https://replit.com as our editor, but feel free to use something else if you wish.

-----------------
👾 Important Videos
-----------------
My Computer Science experience:    • What it was really like as a Computer Scie...  
The side project that got me interviews:    • The side project that got me interviews (S...  
My Resume walkthrough:    • The resume that got me a 200k Software Eng...  
Ace your technical interviews:    • How to ace your technical interview (From ...  

-----------------
🧑🏻‍💻 About Me
-----------------
I am a full time iOS engineer, with over 7 years of programming experience.
My goal is teach you the bare minimum necessary to break into tech ASAP.

Learn more about my programming journey
7 years of coding in 12 minutes:    • 7 years of coding in 12 minutes (Geomatics...  

I offer 1 on 1 mentorship as well, feel free to DM me on discord

#coding #bootcamp #learntocode #codewithvincent

-----------------
Chapters
-----------------
0:00 Introduction
0:37 Creating a variable
0:58 How to name variables
1:38 Value types
1:46 Strings
2:04 Integers
2:08 Floats
2:14 Booleans
2:19 Naming variables
2:57 Printing variables
3:31 type() function


Auf dieser Seite können Sie das Online-Video Variables - Python | Lesson 3 (Free Coding Bootcamp) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code with Vincent 03 Dezember 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 18,353 Mal angesehen und es wurde von 517 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!