0

Why can’t I use double “ in python?

For e.g print = (“welcome“) is not correct

19th Aug 2025, 1:55 PM
Joshil Appavoo
Joshil Appavoo - avatar
4 Answers
+ 4
Print is a built-in method of Python. Therefore, I do not recommend using the word "print" as a variable or user-defined function name.
19th Aug 2025, 2:09 PM
Mila
Mila - avatar
+ 1
Joshil Appavoo , it looks like that you are in a very early stage of learning python. > so it is recommended to continue with learning python and doing exercises in this app. > if you still have issues, you may read the last leesons again to get more familiar with this programming language.
19th Aug 2025, 3:07 PM
Lothar
Lothar - avatar
+ 1
Carefully check the characters for the double-quotes: "Correct" “Wrong“
19th Aug 2025, 3:19 PM
Lisa
Lisa - avatar
0
I don't quite understand what you want to do. If you want to assign a stock value to the print variable, simply wrap the brackets with the text in quotation marks. print = "(welcome)" If you want to display "(welcome)" on the screen, then write: print("(welcome)")
19th Aug 2025, 2:08 PM
Mila
Mila - avatar