1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vova2212 [387]
3 years ago
8

Write a program to prompt the user to enter a fist name, last name, student ID and GPA. Create a dictionary called Student1 with

the data. Repeat this for three students and create Student2 and Student3 dictionaries. Store the three students dictionaries to a new dictionary called ClassList. (ClassList will have Student1, Student2 and Student3 as sub dictionaries). Print out the ClassList. Then remove the GPA and print ClassList again.
Computers and Technology
1 answer:
andrew-mc [135]3 years ago
4 0

Answer:

Answered below

Explanation:

#Program is written in Python

first_name = input ("Enter first name: ")

last_name = input ("Enter last name:")

student_id = int(input("Enter your ID"))

gpa = float(input ("Enter your GPA: "))

student1 = {}

student1["first_name"] = first_name

student1["last_name"] = last_name

student1["student_id"] = student_id

student1["gpa"] = gpa

//Repeat same code for student2 and student3

class_list = {"student1": {"first_name":"joy","last_name":"Son","student_id":"1","gpa":"3.5"},

#Fill in for student 2 and 3}

#To remove GPA for all students

del class_list["student1"]["gpa"]

del class_list["student2"]["gpa"]

del class_list["student3"]["gpa"]

print(class_list)

You might be interested in
please help me!!!!!! all of the following may be benefits of a technical or vocational college except
-BARSIC- [3]

Answer:

im not sure

Explanation: is their supposed to be a picture or something?

5 0
3 years ago
Read 2 more answers
you are connected to a router. to provide access to the internet, you need to create a rule that would hide private ip addresses
kondor19780726 [428]

Based on the above, the technology that a person need to use is NAT.

<h3>What does Network Address Translation means?</h3>

The term Network Address Translation (NAT) is said to be the act or the process by which a person uses in mapping an internet protocol (IP) address to a given  place by altering the header of IP packets while in movement via a router.

Note that the Network Address Translation (NAT helps to boast as well as develop the security and lower the number of IP addresses an organization requires.

Hence, Based on the above, the technology that a person need to use is NAT.

Learn more about Network Address Translation from

brainly.com/question/24159022
#SPJ4

See full question below

You are connected to a router. To provide access to the internet, you need to create a rule that would hide private IP addresses behind one public IP address. Which technology should you use? (DHCP, Port forwarding, WPA, NAT)

8 0
2 years ago
______ lets people access their stored data from a device that can access the Internet.
Lelechka [254]

Answer:

Cloud computing and applications

Explanation:

6 0
3 years ago
Why might a scientist chose to do fieldwork instead of a laboratory experiment?
Marina CMI [18]
 In a a fieldwork experiment the scientist experimentally examines an intervention in the real world. A scientist might choose a fieldwork instead of laboratory experiment in order to answer for example some <span>behavioral questions. Often  the best observations are made in the field.</span>
<span>A field experiment is more suitable for investigating a wider range of factors affecting the overall result.</span>

3 0
4 years ago
What role does modern technology play in globalization today?
lana [24]

<span>Advances in technology are one of the main reasons that globalization has escalated in the past decade. In information and communication technology, innovations have become smaller in size, more efficient and often more affordable. In transport technology, vehicles have tended to become larger and faster, as well as becoming more environmentally friendly and cheaper to run. Whether for personal use or for business, technology has made the world seem a smaller place and assisted in the rise of globalization. </span>
6 0
3 years ago
Other questions:
  • Variables defined inside a member function of a class have: Block scope. Class or block scope, depending on whether the binary s
    5·1 answer
  • Claire wants to be a digital media coordinator. What requirements does she need to fulfill in order to pursue this career?
    6·1 answer
  • Discuss how advertising on the Web affects search results and the ethical dilemmas associated with it.
    5·1 answer
  • What is the recommended solution to configure this automated behavior? UC has a requirement that an opportunity should have a fi
    8·1 answer
  • What type of interview would be most likely for the following scenario?
    11·2 answers
  • Mack has started with his first photographic assignment for a magazine. He has clicked around thirty images and uploaded them on
    10·1 answer
  • How can you use Word in order to edit and print documents ?
    14·1 answer
  • How to do a linear equations
    8·1 answer
  • Convert the following decimal number into octal number-147​
    11·1 answer
  • Why header files are needed in every c program ?expalin​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!