A string sub = “Computer Science” is defined. Give Python statements to:
(c) Check whether ‘enc’ is contained in sub or not.
Answer:
Python statement: ‘enc’ in sub
Very Short Answer Type Questions (1 Mark each)
Very Short Answer Type Questions (1 Mark each)
Last updated at April 16, 2024 by Teachoo
Answer:
Python statement: ‘enc’ in sub