subject
Computers and Technology, 01.10.2019 20:20 Pordie

Write python code that does the following: a. assigns the values 3, 4 and 5 to the variables a, b and c, respectively. b. write an if statement that prints "ok" if a is less than b c. write an if statement that prints "ok" if c is less than b d. write an if statement that prints "ok" if the sum of a and b is equal to c e. write an if statement that prints "ok" if the sum of a squared and b squared equals c squared. 2. repeat the previous problem with the additional requirement that "not ok" is printed if the condition is false.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
Search the web for two examples of digital art that you like. the examples must be from different mediums (example: one digital photo and one computer animation not two computer animations). compose an essay for each example you choose about why the piece appeals to you, and identify the medium used.
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
In simple terms, how would you define a protocol?
Answers: 2
question
Computers and Technology, 25.06.2019 03:00
What judgment would you make about open systems interconnect? not useful that it is a technology that it is a model that it does not pertain to technology
Answers: 1
You know the right answer?
Write python code that does the following: a. assigns the values 3, 4 and 5 to the variables a, b a...
Questions
question
Mathematics, 15.07.2019 10:00
question
Mathematics, 15.07.2019 10:00
question
Mathematics, 15.07.2019 10:00
Questions on the website: 13722361