Answer:
highest of five numbers in the file
Explanation:
- This code reads the file "some-file.txt" and saves the result in variable "somefile"
- The runs a for loop for a count of 5.
- In each loop it compares the current value of the file with the value of the variable result and if the result is true it updates the value of the variable result.
- At the end of this code the variable result will contain the highest value in the file "some-file.txt" and print it.
very easy:
print('The amazing rectangle area calculator')
height = float(input('enter the height '))
width = float(input('enter the width '))
area = height * width
print('The area of the rectangle is', area)
Answer:
Be kind and thankful
Explanation:
If Tyra does not agree with her friend's feedback, she does not have to say it outrightly to her friend. She has to use softer words to disagree. This is where being kind comes in.
Her friend has made efforts by providing this feedback Even if it is not exactly what she wants to hear. It would be polite for her to say thank you.
Then she has to respectfully disagree to avoid coming off as someone who is totally unreceptive of the opinion of others.
Answer:
a. Radom Access Memory (RAM).
Explanation:
If a computer user modifies a document that is saved on his or her computer. This changes are stored on the Radom Access Memory (RAM) until the computer user save the document.
Radom Access Memory (RAM) can be defined as the main memory of a computer system which allow users to store commands and data temporarily.
Generally, the Radom Access Memory (RAM) is a volatile memory and as such can only retain data temporarily.
All software applications temporarily stores and retrieves data from a Radom Access Memory (RAM) in computer, this is to ensure that informations are quickly accessible, therefore it supports read and write of files.
Answer:
# Name - Today's Date
# Description
def main():
print("My favorite TV show is Mythbusters.")
print("I like it because I learn a lot and they do crazy experiments.")
main()
(this is the best I can do since it's a specific result based on the choices you make, but I did the example code and you just need to fill it in with the necessary requirements. I also tested it on IDLE. )