Computer Science, asked by SmritiG2159, 1 year ago

area = (s*(s-a)*(s-b)*(s-c)) ** 0.5 why 0.5 is used in python?

Answers

Answered by AnupamKris
4

0.5 simple means 1/2 anything power 1/2 is square root of it ie. 4**0.5 is 2

You can also use sqrt(4)

Similar questions