-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCollege.py
More file actions
56 lines (46 loc) · 2.66 KB
/
College.py
File metadata and controls
56 lines (46 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import webbrowser
import sys
print("Welcome to DreamCollege!")
print("We are going to ask you several questions to determine which college is the best for you!")
major = input("What is your major of interest?")
if major.lower() == "STEM" or "Stem" or "stem" or "Engineering" or "engineering":
print("Great! Next question...")
elif major.lower() == "Mathematics" or "mathematics":
print("Great! Next question...")
elif major.lower() == "English" or "english" or "ELA":
print("Great! Next question...")
elif major.lower() == "Medicine" or "medicine" or "Med" or "med":
print("Great! Next question...")
elif major.lower() == "Law" or "law":
print("Great! Next question...")
interest = input("What is your desired speciality in your desired major?")
if interest.lower() == "Mechanical Engineering" or interest.lower() == "mechanical engineering":
print("Excellent! Here are the best colleges in 2023 for Mechanical Engineering")
webbrowser.open("https://www.usnews.com/best-graduate-schools/top-engineering-schools"
"/mechanical-engineering-rankings")
sys.exit()
elif interest.lower() == "Chemical Engineering" or interest.lower() == "chemical engineering":
print("Excellent! Here are the best colleges in 2023 for Chemical Engineering")
webbrowser.open("https://www.usnews.com/best-graduate-schools/"
"top-engineering-schools/chemical-engineering-rankings")
sys.exit()
if interest.lower() == "Algebra" or interest.lower() == "Educational":
print("Excellent! Here are the best colleges in 2023 for Algebra")
webbrowser.open("https://www.usnews.com/education/"
"best-global-universities/united-states/mathematics")
sys.exit()
elif interest.lower() == "Calculus" or interest.lower() == "calculus":
print("Excellent! Here are the best colleges in 2023 for Calculus")
webbrowser.open("https://www.usnews.com/education/"
"best-global-universities/united-states/mathematics")
sys.exit()
elif interest.lower() == "Educational Mathematics":
print("Excellent! Here are the best colleges in 2023 for Educational Mathematics")
webbrowser.open("https://www.collegefactual.com/majors/education/teacher-education"
"-and-development/mathematics-education/rankings/top-ranked/")
sys.exit()
if interest.lower() == "Journalism" or interest.lower() == "journalism":
print("Excellent! Here are the best colleges in 2023 for Journalism")
webbrowser.open("https://www.collegefactual.com/majors/"
"communication-journalism-media/journalism/rankings/top-ranked/")
sys.exit()