# class Dog():#类也是一种特殊的对象
# print('haha')
# count = 0
# def __init__(self):
# self.name='大黄'#公有属性
# self.__age = 10#私有属性
# # print('haha')
# def eat(self):#共有方法
# print('吃')
# def __test(self):#私有方法
# print('私有方法')
# dog = Dog()
# dog.eat()
# print(dog.name)
# 类属性 类方法
# class Dog():
# print('hahah')
# count = 1#类方
# __a = 100
# def __init__(self):
# self.name='大黄'#实例属性
# self.__age = 2#私有属性
# self.count = 2
# # print('hahaha'
# def eat(self):#实例方法 公共方法
# print('吃')
# def __asd(self):#私有方法
# print('汪汪')
# # def getA(self):
# # return Dog.__a
# @classmethod
# def getcount(cls):
# return cls .count
# dog = Dog()
# print(dog.getcount())
# print(Dog.getcount())
# # # print(dog.getA())
# print(dog.count)
# print(Dog.count)
# dog = Dog()
# dog.eat()
# print(dog.name)
import re
# result = re.match('baidu','baidu.com')
# print(result.group())
# result = re.match('h','hello python')
# print(result.group())
# print('*'*20)
# result = re.match('[hH]','hallo python')
# print(result.group())
# print('*'*20)
# result = re.match ('天宫1号','天宫1号发射成功')
# print(result.group())
# print('*'*20)
# result = re.match ('天宫\d\d号','天宫10号发射成功')
# print(result.group())
# print('*'*20)
# mm='c:\\a\\b\\c'
# print(mm)
ret = re.match('[1-9]?\d','100')
print(ret.group())