Answer:
#Set of three most popular names in 2007
male_names = {'Oliver', 'Declan', 'Henry'}
#The male_names set is displayed to the user
print(male_names)
#The name to be removed is accepted from the user as a string
remove_name = str(input("Enter name to remove: "))
#The name to be added is accepted from the user as a string
add_name = str(input("Enter name to add: "))
#The remove method of a set is use to remove the received remove_name
male_names.remove(remove_name)
#The add method of a set is use to add the received add_name
male_names.add(add_name)
#The new set of male_names is displayed to the user
print(male_names)
Explanation:
Answer:
RPA is completely rule based
Answer:
The ans will be given in the python script below. A picture of the answer is also attached
Explanation:
print("Welcome To Garage Parking Fee Calculator")
hours = float(input("Type the number of hours parked : "))
#fee per hour
rate = 2.40
#multiply rate per hour by the number of hours inputted
price = rate * hours
if price < 6:
price = 6
if price > 20:
price = 20
print("Parking fee is: $", +price)
<span>Virtual private network (VPN) is the answer</span>
Answer and Explanation:
The answer is attached below