0% found this document useful (0 votes)
43 views3 pages

Faculty of Engineering & Technology Electrical & Computer Engineering Department

Eng. Aseel Awwad Section: 1

Uploaded by

Asaad Halayqa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views3 pages

Faculty of Engineering & Technology Electrical & Computer Engineering Department

Eng. Aseel Awwad Section: 1

Uploaded by

Asaad Halayqa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Faculty of Engineering & Technology

Electrical & Computer Engineering Department


LINUX LABORATORY
ENCS313

Todo#3

Prepared by:
Asaad Halayqa 1172102

Instructor: Dr. Mohammad Jubran


Assistant: Eng. Aseel Awwad

Section: 1
#Asaad Halayqa
#1172102
lines = []
with open("CarRentalInfo.txt") as fo:
for line in fo:
lines.append(line)

#print(lines)
l = []
for i in lines:
i = i.rstrip(';')
l.append(i)

#print(i)

i = input("Do you want to inquire about a person or a car?\n"


"(To inquire about a person, enter 1, to inquire about a car,
enter 2)\n")
if i == '1':
person = input("Please enter the name of the required person:\n ")

elif i =='2':
carCL = input("Please enter car CL:\n")

else:
print("You have entered wrong number!!\n")

You might also like