Run
name = 'apple' ch = 'p' if ch in name: print(ch, 'is present in', name) else: print(ch, 'is not present in', name)
Output