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 00:30
Which of the following methods could be considered a “best practice” in terms of informing respondents how their answers to an on-line survey about personal information will be protected? respondents are informed that investigators will try to keep their participation confidential; however, confidentiality cannot be assured. respondents are informed that a research assistant will transfer all the research data to a password-protected computer that is not connected to the internet, via a usb flashdrive. the computer is located in a research team member’s office. the investigator uses the informed consent process to explain her institution’s method for guaranteeing absolute confidentiality of research data. the investigator uses the informed consent process to explain how respondent data will be transmitted from the website to his encrypted database without ever recording respondents’ ip addresses, but explains that on the internet confidentiality cannot be absolutely guaranteed.
Answers: 1
question
Computers and Technology, 22.06.2019 03:30
Which group on the home tab allows you to add shapes to a powerpoint slide?
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
Technician a says that the radiator usually cools better if the front air dam is removed. technician b says that when a condenser has a leak it can be repaired easily with epoxy. who is correct?
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
Match the following. 1. show grouping of word processing tasks that can be performed quick access toolbar 2. shortcut location for commonly used elements scroll bars 3. organized commands used to modify documents ribbon 4. used to align and measure content in a word screen zoom bar 5. vertical and horizontal bars that are used to navigate through a document contextual tabs 6. displays the name of the document in use ruler 7. allows users to enlarge or shrink a visual of a word document title bar
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, 20.09.2020 14:01
question
Mathematics, 20.09.2020 14:01
question
Mathematics, 20.09.2020 14:01
Questions on the website: 13722361