msg = ("HI")
print(msg)
Output in Terminal
PS C:\Users\Yumil\OneDrive\Desktop\Work\NewProjects> & C:/Users/Yumil/AppData/Local/Microsoft/WindowsApps/python3.10.exe
Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print(msg)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'msg' is not defined
>>> & C:/Users/Yumil/AppData/Local/Microsoft/WindowsApps/python3.10.exe c:/Users/Yumil/OneDrive/Desktop/Work/NewProjects/madlibs.py
File "<stdin>", line 1
& C:/Users/Yumil/AppData/Local/Microsoft/WindowsApps/python3.10.exe c:/Users/Yumil/OneDrive/Desktop/Work/NewProjects/madlibs.py
^
SyntaxError: invalid syntax
>>>