自动化学习-python

2018-10-23:勾股定理

2018-10-31  本文已影响0人  种树在此时

'''
1、勾股定理计算函数,输入3,4,输出5
2、将"When you are starting the selenium server, open a console in the directory with chromedriver and selenium server and execute the above command"
放入b.txt,
通过文件读写,统计每个单词出现了多少次
'''

import math

def GG(a,b):
c = math.sqrt((a2 + b2))

return c

print(GG(3,4))

上一篇 下一篇

猜你喜欢

热点阅读