0

Why does a string give no output ?

Ex: input: 'Hello world' Output:No output

15th Apr 2020, 8:16 AM
Muzammil Thousif
Muzammil Thousif - avatar
3 Answers
+ 3
Muzammil Thousif , please show us your code.
15th Apr 2020, 8:53 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
Its because you didnt print it. >>>print('Hello world!') >>>Hello world! Running code on here is more like and IDE where you have to actually type print(whatever) If you download Termux and type python when you open it you will notice a difference when using it. Termux is just an interpreter. Meaning it takes lines one at a time as you enter them. These will work in Termux When you enter: >>>'Hello world!' #then hit enter... >>>Hello world! Same with basic math: >>>2 + 2 #hit enter >>>4
15th Apr 2020, 9:26 AM
Slick
Slick - avatar
+ 2
Muzammil Thousif As you take input from keyboard in the same way there is a option to show output mean you should print to get output.
15th Apr 2020, 12:11 PM
AÍąJ
AÍąJ - avatar