From the course: Python Essential Training

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Writing a program

Writing a program

- [Instructor] Okay, let's get warmed up. We're going to be writing our first Python program. For this you can use any text editor you'd like. I recommend Visual Studio Code, which I'm using, or you can use something like Sublime or PyCharm. If you're using Windows, you can also use Notepad++ which I've used in the past. If you don't have a text editor, pause now and go get one. We'll be using them for the challenges in this course and a text editor is an essential tool for programming in any language. So create a file called hello.py; hello.py. And open it in your text editor of choice. PY is the file extension for all Python files. And we're just going to type a single line of Python code that will print the text Hello, World! to the screen. So this is the print function. It takes whatever text is passed into these parentheses and just prints it out to the terminal. And notice that I've surrounded the text with these…

Contents