+ 1

Simple operation: 2 + 2 Why does not work??

https://code.sololearn.com/ccs0dPD80oif/#py Why this does not work? Thx, I am soooo new at this.

18th Apr 2020, 3:27 PM
Helena Arias
Helena Arias - avatar
3 RĂ©ponses
+ 1
Ummmmmmm let me see U just wrote 2+2 !!!!!! It's obvious that h are toooo new at programming So, here is the explanation: Writing just 2+2 doesn't tell the interpreter that u have to print it!! So u should use print(2+2) Hope it helps 😅👍
18th Apr 2020, 3:50 PM
Harshit Sharma
Harshit Sharma - avatar
0
Because you didn't print it: print(2 + 2)
18th Apr 2020, 3:44 PM
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż - avatar
0
You would have done Print(2 + 2) without quotation symbol because that is for strings
18th Apr 2020, 4:06 PM
Hansel