美文网首页自动化学习-python
2018-10-23:勾股定理

2018-10-23:勾股定理

作者: 种树在此时 | 来源:发表于2018-10-31 00:17 被阅读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))

    相关文章

      网友评论

        本文标题:2018-10-23:勾股定理

        本文链接:https://www.haomeiwen.com/subject/uhcotqtx.html