0

Fix this code.

In this code when i enter age <= 75, the "discount" text show in the bottom line. How can i fix it?? [Try with 41-75] Here my code link-- https://code.sololearn.com/cUdMdtY3QIQ8/?ref=app

21st Aug 2023, 5:19 PM
Jahid Hasan Taneem
Jahid Hasan Taneem - avatar
2 odpowiedzi
+ 4
Naeema Jannat mistakes are here.. #There is an unnecessary space before the word "discount" in the line that prints the discount for ages <=75 See this modified version https://code.sololearn.com/cC8Lhl4b3zVI/?ref=app
21st Aug 2023, 5:55 PM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 3
Remove the white space character that you types before "discount". You typed " discount" instead of "discount"
21st Aug 2023, 5:53 PM
Lisa
Lisa - avatar