filmov
tv
How to Code PYTHON: Create Your First Program in Visual Studio Code

Показать описание
Let's get started! 🔥🔥🔥 In this video, we will show you how to write your first PYTHON 🐍 program that prints "Hello World" 🌎 (what else? 😂). To show you a little bit more, we will take an input to 💁🏻♂️ print your name on the computer as well as building a simple calculator to sum up two numbers of your choice. In this lesson, you will learn some basics in less than 10 minutes!
In this video, you will learn how to :
★ 0:11 Create a Python code file and execute that code in the terminal of Visual Studio Code.
★ 0:22 Write code to send a text message to the command line.
★ 1:12 Write code to accept user input from the command line.
★ 1:53 Concatenate hard-coded text with user input to display custom-formatted messages.
★ 2:37 Perform mathematical addition on numeric data.
★ 5:28 Convert alphanumeric data into numeric data and back.
Tips and Tricks:
► Hit Ctrl+S to quickly save the changes to your file!
► Choose a good name for your variables.
► The data type of inputs is str (string).
► Remember to cast inputs with int() (integer) or float() (a number that has a decimal place) function before any calculation.
► Remember to cast numeric types (int or float) with str() function before concatenating it with other strings.
WANT MORE PYTHON TUTORIALS?
🐍 Python Coding for Beginners:
For the setup, please read the followings before you begin:
2. Install Python and remember to select "Add Python... to PATH" when asked.
4. Install the Python extension for Visual Studio Code: Go to View and select Extensions, or select the Extensions icon, then search for python.
👇 SUBSCRIBE TO CODING WITH KIDS 👨🏻💻👩🏻💻 YOUTUBE CHANNEL NOW 👇
#CodingWithKids #PythonProgramming #PythonForBeginners
In this video, you will learn how to :
★ 0:11 Create a Python code file and execute that code in the terminal of Visual Studio Code.
★ 0:22 Write code to send a text message to the command line.
★ 1:12 Write code to accept user input from the command line.
★ 1:53 Concatenate hard-coded text with user input to display custom-formatted messages.
★ 2:37 Perform mathematical addition on numeric data.
★ 5:28 Convert alphanumeric data into numeric data and back.
Tips and Tricks:
► Hit Ctrl+S to quickly save the changes to your file!
► Choose a good name for your variables.
► The data type of inputs is str (string).
► Remember to cast inputs with int() (integer) or float() (a number that has a decimal place) function before any calculation.
► Remember to cast numeric types (int or float) with str() function before concatenating it with other strings.
WANT MORE PYTHON TUTORIALS?
🐍 Python Coding for Beginners:
For the setup, please read the followings before you begin:
2. Install Python and remember to select "Add Python... to PATH" when asked.
4. Install the Python extension for Visual Studio Code: Go to View and select Extensions, or select the Extensions icon, then search for python.
👇 SUBSCRIBE TO CODING WITH KIDS 👨🏻💻👩🏻💻 YOUTUBE CHANNEL NOW 👇
#CodingWithKids #PythonProgramming #PythonForBeginners
Комментарии