forked from py50c/A-Forcater
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
14 lines (12 loc) · 880 Bytes
/
main.py
File metadata and controls
14 lines (12 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
def main():
name = input("What is your name?: ")
print(f"Hello {name}.Welcome to A+ VIBES! 😀 ")
print("Where you can confidently forecast your CGPA eventually making you an excellent student!🤩")
print()
collect_courses()
prev_cgpa = float(input("Enter previous CGPA, if not leave blank!: ")) #Takes in input for previous CGPA
prev_credits = int(input("Enter previous credit unit, if not leave blank!: ")) #Takes in input for previous credit units
print(f"{name}, your current CGPA is {calculate_cgpa(grades, prev_cgpa=None, prev_credits=None)}") #calls the function that would provide the CGPA
print(f"Our honest review and suggestions are as follows: {feedback(grades)}") #Calls the function that would give feedback
if __name__ == "__main__":
main() #calls the function that orchestrate the flow of the entire program