Computer Science, asked by aishwaryabangar1202, 1 year ago

Write a simple python program to calculate student result based on 2 exams. Sports event and activities conducted in the college with the weightage of the activity – 20% and sports – 20% of 50 Marks

Answers

Answered by pesh20gathoni
4

Answer:

name = string(inputrow("Enter the name of student"))

sp=int(input("Enter Marks of Sport event"))

ac=int(input("Enter Marks obtain for Activity"))

f=(sp+ac)*100/100

print("Your Marks In Percentage Is",f,"%")

if f>=40:

print('You have passed!')

else:

print('You have failed')

Explanation:

Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python's design philosophy emphasizes code readability with its notable use of significant white space. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.

Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented, and functional programming. Python is often described as a "batteries included" language due to its comprehensive standard library.

Similar questions