Unit 1 Lesson 5

In VSCode i push ctrl + ` and it shows me :
Windows PowerShell
Copyright © Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\melny\Documents\HelloWorld> & C:/Users/melny/AppData/Local/Programs/Python/Python39/python.exe c:/Users/melny/Documents/HelloWorld/app.py
Hello World
PS C:\Users\melny\Documents\HelloWorld>

In Mosh example its just : HelloWorld
what i did wrong?

also how to insert “Persian cat”?

2 Likes

2 Likes

I’m having this same issue when trying to complete the lesson. I noticed the terminal shell (top right corner in the terminal) is listed as “1:powershell” on mine instead of “1:bash” like Mosh’s. Unsure if it’s related, if you find a resolution please post here!

1 Like

I think that this may be the issue. Mine says 1: Python. If you click the dropdown you can change the default terminal. I would try changing that and see if it helps

1 Like

try: python app.py
I had same problem and this code worked for me. Good luck.

2 Likes

I’m running into the same issue as TheDemitri. No “Hello World” shows up when I type python app.py in the terminal.