if __name__ == '__main__': s = "techiedelight.com" ch = '.' if ch in s: print("Character found") else: print("Character not found")