The compound condition are:
- 7<12 or 50!=10 is false
- 7<12 and 50<50 is false
- not (8==3) is true
<h3>What is compound condition?</h3>
A compound statement is known to be one that shows up as the body of another statement, e.g. as in if statement.
The compound condition are:
- 7<12 or 50!=10 is false
- 7<12 and 50<50 is false
- not (8==3) is true
Learn more about compound condition from
brainly.com/question/18450679
#SPJ1
Answer:
Following is given the solution of your question as required.
All the necessary descriptions are given in form of comments,
Sample output are also shown.
I hope it will help you!
Explanation:
Answer:
Written in Python
import math
principal = 8000
rate = 0.025
for i in range(1, 11):
amount = principal + principal * rate
principal = amount
print("Year "+str(i)+": "+str(round(amount,2)))
Explanation:
This line imports math library
import math
This line initializes principal amount to 8000
principal = 8000
This line initializes rate to 0.025
rate = 0.025
The following is an iteration from year 1 to 10
for i in range(1, 11):
This calculates the amount at the end of the year
amount = principal + principal * rate
This calculates the amount at the beginning of the next year
principal = amount
This prints the calculated amount
print("Year "+str(i)+": "+str(round(amount,2)))
That is encryption. Encrypted files usually have a password assigned. In order to decrypt the file, you need to have the password.
Answer:
Computer engineering is a career that works on the development and research of new technology-related things.
Explanation: