Computers and Technology
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")

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:00, toottoot42169
What can you find the under the privacy policy section of a shopping website?
Answers: 1
image
Computers and Technology, 22.06.2019 20:00, serellehunt
Which type of file can be used to import data into a spreadsheet?
Answers: 1
image
Computers and Technology, 23.06.2019 03:00, minelly1717
Your business be in google top rank. more the rank more the business leads. for best seo and digital marketing services be confident to contact you can get best seo solutions by assistance experts provide digital marketing, website development, seo expert services and social media internet seo expert services your branding solutions. seo expert services ,best seo expert services, online seo expert services,
Answers: 3
image
Computers and Technology, 24.06.2019 03:30, glitch14
It is not necessary to develop strategies to separate good information and bad information on the internet. true or false
Answers: 1
Do you know the correct answer?
Informatyka, Pyhon Uzupełnij program sprawdzający możliwość zbudowania trójkąta o polecenia, które b...

Questions in other subjects: