CareerFair.py Sub 1 my_gpa - 3.6 2 my_major - "Computer Science" 3 my_interest - "Software" 4 companygpa_req - 3.5 5 company_major_recruiting 6 company_interest - "Software" "Computer Science" 8 #You may modify the lines of code above, but don't move them! 9 #When you Submit your code, we'll change these lines to 10 #assign different values to the variables. 11 12 #It's career fair season and you are in the middle of applying 13 #to all of these different companies for a potential internship 14 #next summer, but you plan on only applying to companies tha 15 #you are interested in and companies whose requirements you meet. 16 # 17 #You'll only apply to the company if your GPA either matches or 18 #is greater than the company's required GPA. Even then you'l1 19 #only apply to them if the major they are recruiting is your 20 #major. However if you are not the major they are recruiting, 21 #you'll still apply to them if your interest matches the interest 22 #the company is advertising. 23 # 24 #Write some lines of code using logical operators that will print 25 #True if you do end up applying to the company or False if you 26 #don't end up appplying to the company based on the requirements 27 #described above. Use the variable names as listed in the top of 28 #the problem description. 29 # 30 #If your code is working correctly, with the original values of 31 #the variables defined above, your code should print out True. 32 33 #Add your code below! 34 35 if my_gpa_>- 3.5: 36 print( True 37 elif my_gpa < 3.5: 38 print ('False') 39 elif company_interest - my_interest: 40 41 elif my_major 42 print ('True') - company_major_recruiting: print( 'True')

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
CareerFair.py
Sub
1 my_gpa - 3.6
2 my_major - "Computer Science"
3 my_interest -
4 company_gpa_req - 3.5
5 company_major_recruiting
6 company_interest = "Software"
"Software"
"Computer Science"
8 #You may modify the lines of code above, but don't move them!
9 #When you Submit your code, we'll change these lines to
10 #assign different values to the variables.
11
12 #It's career fair season and you are in the middle of applying
13 #to all of these different companies for a potential internship
14 #next summer, but you plan on only applying to companies that
15 #you are interested in and companies whose requirements you meet.
16 #
17 #You'll only apply to the company if your GPA either matches or
18 #is greater than the company's required GPA. Even then you'll
19 #only apply to them if the major they are recruiting is your
20 #major. However if you are not the major they are recruiting,
21 #you'll still apply to them if your interest matches the interest
22 #the company is advertising.
23 #
24 #Write some lines of code using logical operators that will print
25 #True if you do end up applying to the company or False if you
26 #don't end up appplying to the company based on the requirements
27 #described above. Use the variable names as listed in the top of
28 #the problem description.
29 #
30 #If your code is working correctly, with the original values of
31 #the variables defined above, your code should print out True.
32
33 #Add your code below!
34
35 if my_gpa_>= 3.51
print(True')
37 elif my_gpa < 3.5:
print ('False')
36
38
39 elif company_interest =- my_interest:
40
print ('True')
41 elif my_major == company_major_recruiting:
42
print ( True')
Transcribed Image Text:CareerFair.py Sub 1 my_gpa - 3.6 2 my_major - "Computer Science" 3 my_interest - 4 company_gpa_req - 3.5 5 company_major_recruiting 6 company_interest = "Software" "Software" "Computer Science" 8 #You may modify the lines of code above, but don't move them! 9 #When you Submit your code, we'll change these lines to 10 #assign different values to the variables. 11 12 #It's career fair season and you are in the middle of applying 13 #to all of these different companies for a potential internship 14 #next summer, but you plan on only applying to companies that 15 #you are interested in and companies whose requirements you meet. 16 # 17 #You'll only apply to the company if your GPA either matches or 18 #is greater than the company's required GPA. Even then you'll 19 #only apply to them if the major they are recruiting is your 20 #major. However if you are not the major they are recruiting, 21 #you'll still apply to them if your interest matches the interest 22 #the company is advertising. 23 # 24 #Write some lines of code using logical operators that will print 25 #True if you do end up applying to the company or False if you 26 #don't end up appplying to the company based on the requirements 27 #described above. Use the variable names as listed in the top of 28 #the problem description. 29 # 30 #If your code is working correctly, with the original values of 31 #the variables defined above, your code should print out True. 32 33 #Add your code below! 34 35 if my_gpa_>= 3.51 print(True') 37 elif my_gpa < 3.5: print ('False') 36 38 39 elif company_interest =- my_interest: 40 print ('True') 41 elif my_major == company_major_recruiting: 42 print ( True')
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY