Why is value of x not mentioned in the output instead its showing x+8 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is value of x not mentioned in the output instead its showing x+8

https://code.sololearn.com/c93MT3zl23TL/?ref=app

1st Jul 2018, 3:57 AM
Khushi Bhatt
Khushi Bhatt - avatar
7 Answers
+ 8
print(eval("(x+8)")*6) not print("(x+8)"*6)
1st Jul 2018, 4:32 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 3
or remove double quotes print((x+8)*6)
1st Jul 2018, 5:01 AM
‎ ‏‏‎Anonymous Guy
0
https://www.sololearn.com/discuss/1379889/?ref=app I want x + 8 i.e . 15 to be displayed 6 times how to do that
1st Jul 2018, 2:53 PM
Khushi Bhatt
Khushi Bhatt - avatar
0
print("eval(x+3)" * 6)
1st Jul 2018, 2:55 PM
‎ ‏‏‎Anonymous Guy
0
Lol
14th May 2019, 7:28 PM
Kapo King
Kapo King - avatar
0
Can someone teach me dis m
14th May 2019, 8:07 PM
Kapo King
Kapo King - avatar
0
I want to learn dias plz
14th May 2019, 8:08 PM
Kapo King
Kapo King - avatar