I need a python developer

Closed Posted 3 years ago Paid on delivery
Closed Paid on delivery

'''

Write a program with a function called flip() that has one parameter representing the number of times a coin will be flipped. The flip()

function will count the number of heads and tails that result from the coin flip. HINT: Use the random function to represent

heads as 0 and tails and 1. The flip() function should return both the number of heads and tails that were counted (you should return two values).

Include main-line logic that will ask the user how many times they wish the coin to flip, it should also call the flip() function and handle the return

values.

'''

import random

def main ():

'''This is our mainline logic.'''

num_of_flips = int(input("How many times do you wish to flip the coin? "))

num_heads, num_tails = flip (num_of_flips)

def flip(num_of_flips):

for i in range (num_of_flips):

flip = [login to view URL] (0, 1)

if flip == 0:

num_heads =+ 1

return num_heads

if flip == 1:

num_tails =+ 1

return num_tails

main()

Python

Project ID: #27834218

About the project

18 proposals Remote project Active 3 years ago

18 freelancers are bidding on average $19 for this job

HamzaBashirr

I can help you. I have 2 years experience in python programming language. Waiting for your good response

$20 CAD in 7 days
(112 Reviews)
6.2
mahmoudralizadeh

Hello, read your post about needing a simple python script. It seems like you've written the program yourself?! Please let me know what kind of help do you want exactly. I am a telecommunications engineer with 6+ year More

$20 CAD in 1 day
(32 Reviews)
6.2
IshaqKN

Hi there, Yes sure. Expert in Python script. Let me write that required script for flip coin. Won't charge high for such simple task. Will comment the code as well if preferred. I could be the best candidate! I'll re More

$15 CAD in 1 day
(118 Reviews)
6.2
tamvannguyen

Hi, thanks for your posting. I'm Python expert and I can complete it for you within only 1 hours. Please message me to discuss more details. Best, Tam

$30 CAD in 1 day
(63 Reviews)
5.9
TechnologySol20

###### 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 More

$25 CAD in 7 days
(42 Reviews)
5.2
JaibhanSinghGaur

Hi, I am a python developer with more than 2 years of experience. I have made many projects through python in past. So I think I can do your work. Let's discuss more over chat. Please have a look at my profile.

$10 CAD in 1 day
(40 Reviews)
4.7
muhaamadmaaz

Hi, I am a python programmer, I have looked into the code and understands the logic very well, I can help you to complete the entire function, please send me a message to discuss further details. Thanks

$25 CAD in 1 day
(7 Reviews)
3.6
guillaumedeletra

hi :) i'm python developer and i can do what you're looking for in a few minuts. just wisp me ! see you !

$10 CAD in 1 day
(1 Review)
2.4
Roboshandy

My key skills are in Data Analysis, Machine learning using python libraries. I have working experience projects using linear regression, logistic regression and neural network backpropagation for building high accuracy More

$20 CAD in 1 day
(1 Review)
1.4
youchian521

Hi Dear, I read your description carefully. I understood what you require me to do and I am filled with confidence that I can complete your project wonderfully. I have experience over 5+ years with Python and etc. I en More

$20 CAD in 1 day
(1 Review)
0.6
muhammad29518

I Will complete Task within One Day as I have a lot of experience in Python Programming, Your Requirements will be fulfilled accordingly.

$21 CAD in 1 day
(0 Reviews)
0.0
michelangeloguer

I have 5 year of python experience I can deliver this to you tomorrow, just tell me every detail needed.

$16 CAD in 1 day
(0 Reviews)
0.0
luis2ra

Hi! I am interested in solving this problem based on the given premises. I have idea how to display the expected result. I will be attentive to this proposal.

$22 CAD in 1 day
(0 Reviews)
0.0
sriksravani

HI, I have 8 yewars of expeience in python. I can do the job. I can deliver the script in couple of hours. Please let me know

$30 CAD in 1 day
(0 Reviews)
0.0
soloninandr

I can send you a solution right now and help with such scripts from time to time, and explain how to make them better. And also recommend books for better learning.

$20 CAD in 7 days
(0 Reviews)
0.0
jagadeeshswarna5

i can help you with your work. Looking forward to work for you. I am a python developer from Infosys Ltd. You just need to change one line and the code will work fine as you are wishing it to work.

$10 CAD in 1 day
(0 Reviews)
0.0
fgharewood

Good day, I am able to create this function for you using python in a relatively short time and will do so for your smallest bid value if you hire me.

$10 CAD in 7 days
(0 Reviews)
0.0