+ 2

How to write a programme in python to print this 1+2+3+4 without quote's "",'''

27th Feb 2017, 5:03 PM
Mool Singh
Mool Singh - avatar
6 Answers
+ 2
print without " " Quotes #visph
28th Feb 2017, 3:17 PM
Mool Singh
Mool Singh - avatar
+ 3
I'm not sure of your question meaning, but maybe you are running Idle, the command line interpreter of Python... If so, you would have a "prompt" preceding all that you are typing and executing instruction directly, without writing a script in a file saved, like this: >>> my_var = "1+2+3+4" ... and you "print"' the value of 'myvar' just by typing and validating: >>> my_var "1+2+3+4" In fact, what occurs is specific to command line interpreter, and don't work by this way in a saved script file... You must use the 'print()' function, so you'll need use it to really "print" the value, and not log it ( quotes are there to signify that's a string type value ): >>> print(my_var) 1+2+3+4
28th Feb 2017, 3:10 PM
visph
visph - avatar
+ 3
Sorry... I don't understand what's your meaning :(
28th Feb 2017, 3:18 PM
visph
visph - avatar
+ 2
can you explain this plz .
27th Feb 2017, 5:26 PM
Mool Singh
Mool Singh - avatar