Question: Hi, I just downloaded visiual studio to code with python and I couldnt figure out how to debug this. do you know what might becthe

Hi, I just downloaded visiual studio to code with python and I couldnt figure out how to debug this. do you know what might becthe problem? thank you  Hi, I just downloaded visiual studio to code with python and
I couldnt figure out how to debug this. do you know what

Run Terminal Help visiual.py - Visual Studio Code AVED Welcome visiual.py C: > Users > Mohammed > Desktop > visiual.py). 1 def add(x,y): 2 return x+y 3 print(add(x,x)) ened a folder. Folder a repository from re about how to control in VS Code Repository + 8 PROBLEMS 3 OUTPUT DEBUG CONSOLE TERMINAL 1: Python Type "help", "copyright", "credits" or "license" for more information. >>> print(add(x,y)) Traceback (most recent call last): File "", line 1, in not defined PROBLEMS 3 OUTPUT DEBUG CONSOLE TERMINAL 1: Python Type "help", "copyright", "credits" or "license" for more infor >>> print(add(x,y)) Traceback (most recent call last): File "", line 1, in NameError: name 'add' is not defined >>> & python c:/Users/Mohammed/Desktop/visiual.py File "", line 1 & python c:/Users/Mohammed/Desktop/visiual.py I SyntaxError: invalid syntax >>> Incl 16 Spaces UTF-8 CRLE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!