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

Published: 02 September 2020
on channel: Coding With Kids
770
11

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:
   • 🐍 Python Coding for Beginners  

For the setup, please read the followings before you begin:
1. Download latest Python: https://www.python.org/downloads/
2. Install Python and remember to select "Add Python... to PATH" when asked.
3. Download and install latest Visual Studio Code: https://code.visualstudio.com/Download
4. Install the Python extension for Visual Studio Code: Go to View and select Extensions, or select the Extensions icon, then search for python.

Python - a programming language used by world-class companies such as Amazon.com, Alphabet (Google), Facebook, Twitter, and NASA.

👇 SUBSCRIBE TO CODING WITH KIDS 👨🏻‍💻👩🏻‍💻 YOUTUBE CHANNEL NOW 👇
   / @codingwithkids  

#CodingWithKids #PythonProgramming #PythonForBeginners


On this page of the site you can watch the video online How to Code PYTHON: Create Your First Program in Visual Studio Code with a duration of online in good quality, which was uploaded by the user Coding With Kids 02 September 2020, share the link with friends and acquaintances, this video has already been watched 770 times on youtube and it was liked by 11 viewers. Enjoy your viewing!