-
Notifications
You must be signed in to change notification settings - Fork 317
Description
PS C:\Users\Hp\Documents.vscode> & 'c:\Users\Hp\AppData\Local\Programs\Python\Python313\python.exe' 'c:\Users\Hp.vscode\extensions\ms-python.debugpy-2025.5.2025031101-win32-x64\bundled\libs\debugpy\launcher' '52164' '--' 'C:\Users\Hp\Documents.vscode\bank.py'
Traceback (most recent call last):
File "c:\Users\Hp\AppData\Local\Programs\Python\Python313\Lib\runpy.py", line 198, in _run_module_as_main
return _run_code(code, main_globals, None,
"main", mod_spec)
File "c:\Users\Hp\AppData\Local\Programs\Python\Python313\Lib\runpy.py", line 88, in run_code
exec(code, run_globals)
~~~~^^^^^^^^^^^^^^^^^^^
File "c:\Users\Hp.vscode\extensions\ms-python.debugpy-2025.5.2025031101-win32-x64\bundled\libs\debugpy\launcher/../..\debugpy_main.py", line 71, in
cli.main()
~~~~~~~~^^
File "c:\Users\Hp.vscode\extensions\ms-python.debugpy-2025.5.2025031101-win32-x64\bundled\libs\debugpy\launcher/../..\debugpy/..\debugpy\server\cli.py", line 501, in main
run()
~~~^^
File "c:\Users\Hp.vscode\extensions\ms-python.debugpy-2025.5.2025031101-win32-x64\bundled\libs\debugpy\launcher/../..\debugpy/..\debugpy\server\cli.py", line 351, in run_file
runpy.run_path(target, run_name="main")
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\Hp.vscode\extensions\ms-python.debugpy-2025.5.2025031101-win32-x64\bundled\libs\debugpy_vendored\pydevd_pydevd_bundle\pydevd_runp code, fname = _get_code_from_file(run_name, path_name)
y.py", line 283, in _get_code_from_file
code = compile(f.read(), fname, "exec")
File "C:\Users\Hp\Documents.vscode\bank.py", line 48
def withdraw_money():
^
IndentationError: expected an indented block after function definition on line 48
PS C:\Users\Hp\Documents.vscode> ^C
PS C:\Users\Hp\Documents.vscode>
PS C:\Users\Hp\Documents.vscode> c:; cd 'c:\Users\Hp\Documents.vscode'; & 'c:\Users\Hp\AppData\Local\Programs\Python\Python313\python.exe' 'c:\Users\Hp.vscode\extensions\ms-python.debugpy-2025.5.2025031101-win32-x64\bundled\libs\debugpy\launcher' '52240' '--' 'C:\Users\Hp\Documents.vscode\bank.py'
PS C:\Users\Hp\Documents.vscode>