标签:find mic pytho input src font width alt bcd
1.
str1 = input()
s = ‘1234567890abcdefABCDEF‘
c = ""
for item in str1:
if item in s:
c = c + item
# print(str1.find(c[0]))
# print(str1.find(‘-‘))
if c == ‘‘:
print(‘0‘)
elif str1.find(c[0])>str1.find(‘-‘):
print(-int(c,16))
else:
print(int(c,16))
标签:find mic pytho input src font width alt bcd
原文地址:https://www.cnblogs.com/averyfork/p/14529288.html