+ 1
Write a program for calculate hypotens of triangle , if other two side is given
hi
10 Réponses
+ 10
but I don't like algebra
go away shapes!!!
+ 9
too many numbers
I don't like math
you should make it yourself if you're so interested in it! it'll make you a better coder!
+ 8
a = input()
b = input()
h = (int(a)**2+int(b)**2)**0.5
print(h)
Try it here:
https://code.sololearn.com/c2G6ZfQJg4OT/?ref=app
For right-angled triangles only
+ 8
@Ahri Fox Enter the input like this:
12
13
(basically press enter)
+ 8
@Jafca WOAH WOAH HOLD ON
I DIDN'T KNOW THIS WAS POSSIBLE
IMA MAKE SO MANY NEW CODES WITH THIS!!!
WOOOOOOOOOOOOO
+ 7
@Jafca code playground only allows one input
But yeah you did it so gj
+ 6
@Ahri Fox Really? It says, "Split multiple inputs into separate lines"... Anyway, enjoy 🍰
+ 3
the multike inputs in seperate lines doesn't seem to work in all scenarios though, where it can't guess in advance whether another input will appear (unless they've updated it at some point, with some form of magic)
0
but why