128k views
0 votes
What will be the results from running the following code?

print("Grades")
print(92)
print(80)
print("Total")
print(92 + 80)

2 Answers

4 votes

Answer:

Grades

92

80

Total

172

Step-by-step explanation:

User Colder
by
5.7k points
1 vote

Answer:

Grades

92

80

Total

172

Step-by-step explanation:

Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code. The simplest directive in Python is the "print" directive - it simply prints out a line (and also includes a newline, unlike in C).

User Dcompoze
by
5.8k points