Answer:
Don't forget to close any parentheses you open. Other then that everything looks fine, I just polished it a little bit
Explanation:
name = input("What is your first name? ")
print("Hello", name)
age = int(input("How old are you? "))
print("In 10 years you will be", (age+10))
print("In 20 years you will be", (age+20))
print("5 years ago you were", (age-5))
Answer:
They include;
1. MAAG Pump Systems,
2. Automatik Plastics Machinery,
3. Gala Industries,
4. Reduction Engineering Scheer,
5. Ettlinger Kunststoffmaschinen and
6. XanTec EDV- und Steuerungstechnik
Explanation:
The MAAG group consists of six companies specialized in different aspects of polymer production. They provide their services to petrochemical, pharmaceutical and food production companies. They produce pellets, gear pumps, filtration systems and components, pelletizers, etc.
They have more than 1000 staff and their offices are located in about 11 countries of the world.
When using the following symbol, there are two arrows coming out of it. One arrow corresponds to what happens in the program if the answer to the question if it is _______YES_____ and the other corresponds to what happens next if the answer to the question is _____NO_____ .
Explanation:
When using the following symbol, there are two arrows coming out of it. One arrow corresponds to what happens in the program if the answer to the question if it is <u>Yes and the other corresponds to what happens next if the answer to the question is No. </u>
The Below symbol(in attachment ) is used to take decisions. This decision taking step is represented as a diamond in a flowchart.
Answer:
def course_grader(student_to_grades, course_prefix):
student_grades = dict()
for key, value in student_to_grades.items():
grade_score = 0
for course,grade in value.items():
if course_prefix == course:
grade_score += grade
student_grades[key] = grade_score / len(value.keys())
return student_grades
Explanation:
The course_grader function is a python program that accepts two arguments, the student dictionary and the course prefix. The function returns a dictionary of the student id as the key and the average grade of the student as the value.