0

Please where did my codes get error, someone help me identify it please

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

20th Sep 2023, 9:21 AM
SAGIR ISAH
SAGIR ISAH - avatar
5 Answers
+ 7
Line 6: print("do not waste your time)" It's missing a closing parentheses after the double quote. You placed the closing parentheses before the double quote.. Corrected version: print("do not waste your time")
20th Sep 2023, 9:49 AM
Dragon RB
Dragon RB - avatar
+ 6
Line 6: Misplaced " – it is after ) instead of before. The identations of print are wrong. The indentation must be exactly 4 spaces.
20th Sep 2023, 9:47 AM
Lisa
Lisa - avatar
+ 3
#Dragon Rb Thank you I didn't notice at all, because when I read the correction statement, it speaks about line 7, so though the problem was there (line ) thank you plentifully
20th Sep 2023, 10:39 AM
SAGIR ISAH
SAGIR ISAH - avatar
0
Print function of 2nd line in if statement the double quoted comma is typed outside of bracket,, correct is ("do not waste your time")
20th Sep 2023, 4:33 PM
Aayush Aanand
Aayush Aanand - avatar
0
she_loves_him = True not_respects_him = False if she_loves_him: print("you should go an get married") print("do not waste your time") elif not_respects_him: print("you should do the right things and respect him or be sapareted ") else: print("this is the worst part of relationship") This is correct answer
22nd Sep 2023, 5:57 AM
Shubham Gupta
Shubham Gupta - avatar