Færdiggjort

fix a python simple script

1) Write a program that initializes a list with ten random integers. The program should then print the following:

the list in original order

every element of the list at an even index

every element of the list at an odd index

all elements in reverse order

the first element and the last element

Here is a sample execution:

The list in original order: 7 6 2 7 8 2 10 2 1 10

Elements at even indexes: 7 2 8 10 1

Elements at odd indexes: 6 7 2 2 10

The list in reverse order: 10 1 2 10 2 8 7 2 6 7

First and last elements of the list: 7 10

2) A store wants to reward its best customer of each day by showing the customer's name on a screen in the store. To do this they store the customers' amount of purchase and their names in two corresponding lists. Implement a function:

def bestCustomer(sales, customer)

that returns the name and sales amount of the customer with the largest sales for the day.

Write a program the prompts the manager to enter all sales and customer names (in two lists) and displays the result. Use the sales amount of 0 as the sentinel value.

Here is a sample execution:

Enter the sale amount: 123.50

Enter the customer's name: Mitchell

Enter the sale amount: 234.65

Enter the customer's name: Joshua

Enter the sale amount: 365.47

Enter the customer's name: Natasha

Enter the sale amount: 567.89

Enter the customer's name: Jennifer

Enter the sale amount: 0

The best customer was: Jennifer with sales of 567.89

Evner: Python

Se mere: python simple web browser, image gallery flash simple script, simple script import data php, python 3 code examples, python script example, python hello world script, python hello world main, useful python scripts, how to run python script, python tutorial, python script example linux, simple script check server, python csv script, python auction script, php simple script, simple script protection, magento change simple script link footer, simple script extract data urls, php simple script number hours work, simple script max

Om arbejdsgiveren:
( 2 bedømmelser ) BAKERSFIELD, United States

Projekt ID: #19242051

Tildelt til:

iqbalrhidwan52

Hi I can do this for you. I have over 2 years of experience programming with Python I can do easily for you.

$10 USD / time
(2 bedømmelser)
1.9

18 freelancere byder i gennemsnit $12/time for dette job

marcnealer

Hi I'm a Snr python programmer Your two scripts are only about an hours works. Is this all you want? Thanks Marc Nealer

$15 USD / time
(8 bedømmelser)
5.8
limillion819

Hi there. I am very interested in your proposal. I can instantly help you with your starting project with successful completion. As a professional software developer, I ensure for a perfect ongoing project. You wil Flere

$16 USD / time
(4 bedømmelser)
5.1
muller1998926

Hello, dear! I am interested in your project. I have extensive experience in Python/Numpy/Pandas/Scikit Learn/Machine learning/Deep Learning. As a developer with rich experience, I am confident about your project. Flere

$12 USD / time
(7 bedømmelser)
4.5
NavyaSales

Hi, I am an ex-Microsoft employee and an experienced all-round Python developer. I am working with a small team of talented developers and am confident of successfully delivering your project of writing the program Flere

$16 USD / time
(11 bedømmelser)
4.4
cma93

HI, I would like to do your task. I will charge $25 for both tasks. Contact me anytime to get it done.......... Thanks.

$12 USD / time
(4 bedømmelser)
3.7
sumitfury

Have rich expertise in working with Java and Python, kindly let me know the issue you are facing in current script. Will be glad to help you. Thanks, Sumit

$11 USD / time
(5 bedømmelser)
3.2
b1dr

Hello, I'm a ph.d. student in computer vision and deep learning, I'm working with python on a daily basis, I would like to help you with your project. I'll finish it in two hours, so it will be 16$ for the whole work. Flere

$8 USD / time
(2 bedømmelser)
2.9
cdesivo92

Hey I am a python expert, I can do this in 2 hours for 20 usd. You can check the work I have in my portfolio. I can have it done for tomorrow.

$10 USD / time
(5 bedømmelser)
2.0
TechRoamer

Hello, I can write this script efficiently and fairly quickly with complete documentation for everything. Please text me in the chat to further discuss it. Thanks

$13 USD / time
(1 bedømmelse)
1.2
yhuai

Completed all python courses with A+ grade. Can finish and debug in 20 minutes......................

$12 USD / time
(2 bedømmelser)
1.3
rahul8595

I have seen your project details. My team member is Senior software developer in python. we will do your work perfectly within time. Contact me for further details. Thanks

$12 USD / time
(0 bedømmelser)
0.0
developersperhr

I am expert in Python and recently created Maze Game in [login to view URL] implimented google captcha on this [login to view URL] in good in matplotlib or other data visualization .ALso create complex [login to view URL] check previous Flere

$20 USD / time
(0 bedømmelser)
0.0
arvindvashi

Hi there, Greeting of the Day! I've reviewed your project description and glad to let you know that I'm able to complete your 2 tasks in Python programming language as per your instruction. I've done similar work Flere

$10 USD / time
(0 bedømmelser)
0.0
deep56parmar

I'm expert in python I can complete both assignment in just one hour. it will cost you just 8$. Contact me for further discussion. thanks

$8 USD / time
(0 bedømmelser)
0.0
DEsteban

Hi, I'm interested in making this script, I work with python and I think this could be easy for me to do. Please, let me know if you are interested in hiring me.

$11 USD / time
(0 bedømmelser)
0.0
techlinesols6

"Hi, Hope you are doing well! Thanks for sharing your project requirement with us. It will be our great pleasure to work on your project. I have checked your requirement, yes we can do it, because we already work on si Flere

$12 USD / time
(0 bedømmelser)
0.0
sunfanyun

I am good in Python and Algorithm and I understand the Project. New to this platform please give me a chance. Thanks!

$11 USD / time
(0 bedømmelser)
0.0