#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
l = []
while True:
s = raw_input()
if s == '':
break
else:
l.append(s)
for s in l:
if re.match('[A-Za-z_]', s):
if re.search('[_]|\w', s):
print 'True'
else:
print 'False'
else:
print 'False'
# -*- coding: utf-8 -*-import rel = []while True: s = raw_input('Please input your char:') if s == '': break else: l.append(s)for s in l: if re.match('[A-Za-z_]', s): if re.search('[_]|\w', s): print 'True' else: print 'False' else: print 'False'#允许多次输入,输入完后不管please input your char:按两次回车就可以了