找字符串中的特殊字符
题目描述
输入一个字符串,如果字符串中有大写A或者小写a,
输出yes,否则no
输出yes,否则no
输入
一行字符串
输出
yes或者no
样例输入
hello world! A boy is coming.
样例输出
yes
提示
no
#!/usr/bin/env python # -*- coding:utf-8 -*- if __name__ == ‘__main__‘: input_string = input() if ‘A‘ in input_string or ‘a‘ in input_string: print(‘yes‘) else: print(‘no‘)
相关推荐
TLROJE 2020-10-26
cuixingwudi 2020-06-25
liuofficial 2020-06-25
xuanlvhaoshao 2020-06-16
山水沐光 2020-06-05
xiechao000 2020-05-01
Ariye 2013-05-15
HSdiana 2020-01-17
jyj00 2020-01-11
owilson 2020-01-02
wugang0 2020-01-06
jyj00 2020-01-03
wenjs00 2019-12-20
一只懒虫 2019-11-18
mrshelly 2011-05-04
liusarazhang 2019-11-05
shijinling0 2019-11-04
Poem 2017-01-13