Computer Science, asked by Lagna91631, 1 year ago

Program that throws a 'nomatchexception' when a string is not equal to "india"

Answers

Answered by rishabhsingh0156
0

Answer:

It is Possible

Explanation:

string = str(input('Enter String: '))

if string != 'india':

print('nomatchexception')

else:

print()

Is that Correct according to your question

Similar questions