如何使用python寫華三設(shè)備的自動化巡檢腳本?
#!/usr/bin/env python
import sys
str = True
while (str):
dig = int(input())
if dig > 100:
print 'please input mun between 0~100'
elif dig >= 90:
print 'A'
elif dig >= 80:
print 'B'
elif dig >= 70:
print 'C'
elif dig >= 60:
print 'D'
elif dig
print 'E'
else:
break