''def service():'''
print("1. Remove virus, malware or spyware(normal-rm50/urgent-80)\n2. Troubleshoot and fix computer
running slow(normal-rm60/urgent-90)"
"\n3. Laptop screen replacement(normal-rm380/urgent-rm430)\n4. Laptop battery
replacement(normal-rm180/urgent-rm210)"
"\n5. Operating System Format and Installation(normal-rnm100/urgent-rm150)\n6. Data backup
and recovery(normal-rm80/urgent-rm130)")
name=(input("whats your name:"))
updated= False
with open([Link], "r") as file:
lines =[Link]()
with open([Link],"w")as file:
for line in lines:
data= [Link]().split(",")
if data[0]==name:
choice=int(input("which service you want:"))
situation=str(input("whats the situation(normal/urgent):"))
if choice==1:
if situation=="normal":
fee=50
elif situation=="urgent":
fee=80
else:
print("situation not available")
elif choice == 2:
if situation == "normal":
fee = 60
elif situation == "urgent":
fee = 90
else:
print("situation not available")
elif choice==3:
if situation == "normal":
fee = 380
elif situation == "urgent":
fee = 430
else:
print("situation not available")
elif choice == 4:
if situation == "normal":
fee = 180
elif situation == "urgent":
fee = 210
else:
print("situation not available")
elif choice == 5:
if situation == "normal":
fee = 100
elif situation == "urgent":
fee = 150
else:
print("situation not available")
elif choice == 6:
if situation == "normal":
fee = 80
elif situation == "urgent":
fee = 130
else:
print("situation not available")
[Link](f"{data[0]},{choice},{situation},{fee}\n")
updated= True
else:
[Link](line)
if updated:
print("Change service Successful")
else:
print("customer name not available")