Someone please correct this | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Someone please correct this

23rd Feb 2021, 9:12 AM
Nur Anis Safiah Binti Abdul Rahim
Nur Anis Safiah Binti Abdul Rahim - avatar
4 Answers
+ 2
Please add-show your attempt/code or clarify your question so the community can help you more easily :)
23rd Feb 2021, 9:12 AM
Matthew
Matthew - avatar
+ 2
You didn't create a variable named sum, so you can't display it at the last line. :)
23rd Feb 2021, 9:15 AM
Matthew
Matthew - avatar
0
X=170 Print(x) Print(x-1) Print("sum" - str (sum))
23rd Feb 2021, 9:13 AM
Nur Anis Safiah Binti Abdul Rahim
Nur Anis Safiah Binti Abdul Rahim - avatar
0
Sorry , i'm new in this field . Thankyou:-)
23rd Feb 2021, 9:20 AM
Nur Anis Safiah Binti Abdul Rahim
Nur Anis Safiah Binti Abdul Rahim - avatar