Aman wants to find the average of two numbers 10 and 12 and he write the code as 10 + 12/2, it would run successfully but the output is not correct. What type of error is done by Aman?

🎲 Try a Random Question  |  Total Questions in Quiz: 140  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
CBSE Class 11 Introduction to Python Practice Test — practice the complete quiz, review flashcards, or try a random question.

Python is a general-purpose advanced level programming language used by developers for data analysis, web development, and machine learning. It is an object-oriented programming language with built-in data structures and dynamic typing and binding.

Python programs are easy to understand as they have a clearly defined syntax and relatively simple structure.

Python is case-sensitive . For example, NUMBER and number are not the same in Python.

Python is portable and platform independent, meaning it can run on various operating systems and hardware platforms.


Aman wants to find the average of two numbers 10 and 12 and he write the code as 10 + 12/2, it would run successfully but the output is not correct. What type of error is done by Aman?