How can I change this code so that the user can input in any number in any order and it will know which is the hypotenuse(longest side) in pytthon

后端 未结 0 1771
长情又很酷
长情又很酷 2020-11-27 05:34
import math
 def main():

    b = float(input("whats side 1: ")) #Allow them to enter numbers in any order and still find hypotenuse
    h = float(input(&q         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题