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, 23.06.2019 16:00
Helen is having a meeting with her colleagues in her company. they are working on the goals and objectives for the coming year. they want to ensure that these goals and objectives of the processes involved are properly evaluated. which system can helen and her colleagues apply to evaluate this? helen and her colleagues require a blank to evaluate the goals and objectives.
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
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
Mathematics, 10.06.2021 03:50
question
Physics, 10.06.2021 03:50
question
Mathematics, 10.06.2021 03:50
Questions on the website: 13722359