I need Python developer
Bütçe $15-25 AUD / saat
- Freelancer
- İşler
- Python
- I need Python developer
Requirements:
Part of this program is already supplied below. You are required to add code for the following functionality:
1. Display a message to the user asking them to enter the name of the customer.
2. Read the customer name from the keyboard and assign it to a variable.
3. Display a message to the user asking them to enter the name of a part.
4. Read the part name from the keyboard and assign it to a variable.
5. Display a message to the user asking them to enter the quantity purchased.
6. Read the quantity from the keyboard and assign it to a variable. This quantity will be a whole number (integer) e.g. 4, 8, 22
7. Calculate the total price for the customer including the discount.
8. You will need to find the customer name that the user entered (in step 2) in the “custnames” list in order to obtain the customer discount. You will need to find the part name that the user entered (in step 4) in the “prodnames” list in order to obtain the product price. You will then be able to calculate the total price. The pseudo code for this will be something like:
loop through the customer list, one item at a time
if the customer name of the current list item matches the one that the user entered, then
the discount for this customer is in the same position (index) in the customer discount list
Use the same logic to find the product & product price.
The snippet:
import sys
[login to view URL]("Initialising product data\n")
productnames=[]
productprices=[]
for n in range(0,3):
[login to view URL]("Enter the product name "+str(n+1)+"\n")
productname = [login to view URL]().strip()
[login to view URL](productname)
[login to view URL]("Enter the price "+str(n+1)+"\n")
productprice = float([login to view URL]())
[login to view URL](productprice)
[login to view URL]("Your product names are:\n")
print(productnames)
for n in range(0, len(productnames)):
print("Index="+str(n), "Name="+ productnames[n])
[login to view URL]("Your product prices are:\n")
print(productprices)
for n in range(0, len(productprices)):
print("Index="+str(n), "Price="+ str(productprices[n]))
[login to view URL]("Initialising customer data\n")
custnames=[]
custdiscounts=[]
for n in range(0,2):
[login to view URL]("Enter the name of customer "+str(n+1)+"\n")
customername = [login to view URL]().strip()
[login to view URL](customername)
[login to view URL]("Enter the discount for customer" +str(n+1)+"\n")
customerdiscount = float([login to view URL]())
[login to view URL](customerdiscount)
[login to view URL]("Your customer names are:\n")
print(custnames)
for n in range(0, len(custnames)):
print("Index="+str(n), "Name="+custnames[n])
[login to view URL]("Your customer discounts are:\n")
print(custdiscounts)
for n in range(0, len(custdiscounts)):
print("Index="+str(n), "Discount="+str(custdiscounts[n]))
[login to view URL]("LET US GO SHOPPING!!!!\n\n")
Bu iş için 30 freelancer ortalamada $19/saat teklif veriyor
Hi, Greetings! ✅ I have checked and gone through the project details and I am very skilled in it. ✅Completed Time: In project deadline We have worked on 640 + Projects. I have 6 + years of the experience in sa Daha Fazla
Hi there, I'm a Python developer and interested in this job. I'd be very appreciate if you give me a chance to work on this. Kind regards, Maide
MATLAB I have extensive experience in the domains of Neural Network, Python, Matlab, Natural Language Processing, Asterisks PBX, Linux, Image Recognition & Artificial Intelligence, Recommender Systems, Machine learnin Daha Fazla
###### Having Teaching Experience in C, Python, Data structure, Algorithm Design and Analysis ######## Hi, Greetings. I am a computer engineer having masters in Mathematics, Computer Science and PhD in Computer Scien Daha Fazla
We are a Ukrainian software development company that employs several passionate engineers. Our main focus is scientific software, but we also do web and mobile development. In the last few years we have completed man Daha Fazla
Hello, I'm Adel, Computers and Systems Engineer. I have experience in python for +3 years in many fields: - Data Science. - Data Analysis. - Automation and Scripting. - AI, ML and DL. I graduated from many nanodegree Daha Fazla
========== Python expert ============== Hi.I have a rich experience in python I can show you demo project ([login to view URL]) This app save all data that scraped from [login to view URL] in db and display data from d Daha Fazla
Hello, How are you? Hope you are doing well. I've read your job description. I am interested in your project. I have rich experience in these fields. I am working in these fields for 7 years, so I have enough confidenc Daha Fazla
Greetings, I hold a Master's degree in Python making me a suitable person for your project. I have more than 5 years of professional experience in Python. For your reference, you can check reviews for all the projects Daha Fazla
Let's discuss the details.....................................................................................................
Hi, I'm expressing my interest in your job post and really want to work with your company. I have strong 5 years of experience in Python, Django, React.js with an excellent track record for the best customer satisfact Daha Fazla
hi I am really interested in your project I am new to Freelancer so I placed a bid for a low price But I have full experience of python programming I could finish your project in high quality, in short timeline I could Daha Fazla
I have 3 year experience in python and ML. I do this thing already in my own project so i will do that in easy way. I read all things that you want. If u want in low cost then also you message me.
Hello. I have solid knowledge of Python programming and I can be available on your project. I am accurate and efficient, and I assure that my work is performed with a high level of independence and professionalism. I a Daha Fazla
Hi I'm professional python developer with 3 years of working experience with different frameworks Django, Flask. I have done many projects in this and I have experience in ETL also. I'm able to complete your mini proje Daha Fazla
I am a programmer very good at python and I would be very glad to work on your project giving the best of my ability to complete it within the shortest possible time.
Hi There I've read through your product details and I can be of assistance with this project. I'm a python developer with experience in writing command line applications. Here is an example application that I've pre Daha Fazla
I am python expert ,worked on May projects . please provide me the opportunity. I will deliver the best code in less time
Hi I have 15 years of experience in SQL server and python and I will be able to help support on this project. Please ping me ofline to discuss further.
Hello, I am python Developer. This is very simple task could be achieved within a week. I am sure you will be satisfied by the work. Thanks and regards, Parth