subject
Computers and Technology, 08.04.2020 15:28 0140875

Informatyka, Pyhon Uzupełnij program sprawdzający możliwość zbudowania trójkąta o polecenia, które będą liczyć jego pole, o ile da się go utworzyć. Skorzystaj z następującego wzoru: Pole=p(pa)(pb)(pc) gdzie p: połowa obwodu trójkąta p=(a+b+c)/2 Aby użyć w Pythonie funkcji pierwiastka (sqrt) należy na początku programu zadeklarować bibliotekę math: import math Program do uzupełnienia: def cecha (x, y, z): licznik = 0 if x + y > z: licznik += 1 if x + z > y: licznik += 1 if z + y > x: licznik += 1 if licznik == 3: return True x = int(input("Podaj 1 bok trojkata: ")) y = int(input("Podaj 2 bok trojkata: ")) z = int(input("Podaj 3 bok trojkata: ")) if cecha(x, y, z): print("Z tych bokow da sie zbudowac trojkat") else: print("Z tych bokow nie da sie zbudowac trojkata")

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
Which option should u select to ignore all tracked changes in a document
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
Answers: 2
You know the right answer?
Informatyka, Pyhon Uzupełnij program sprawdzający możliwość zbudowania trójkąta o polecenia, które b...
Questions
question
History, 24.04.2020 01:26
question
English, 24.04.2020 01:28
Questions on the website: 13722367