+ 1

Where am I doing wrong?

Please tell me where I am doing work in the program given below: print('Thanos defeated the Avengers') if Thanos defeated the Avengers': print('he will get all the infinity stones') else: print('he will not get all the infinity stones')

4th Mar 2019, 8:53 AM
Abhinav Gupta
Abhinav Gupta - avatar
2 Respostas
+ 3
//Where is a logical part here if Thanos defeated the Avengers':
4th Mar 2019, 9:57 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 3
You need boolean expression
4th Mar 2019, 2:06 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar