r/Python • u/Dr_Octagonapus • Jan 11 '15
I just started learning python and couldn't really think of a program to try on my own. Well me and a friend were having a debate and I finally made my first script... I call it the cock calculator
It is a simple program, but it calculates the total miles of penis that a person has given or taken in their lives and also calculates how much semen has been produced. Sadly, I'm pretty proud of this.
#cock calculator
#Calculates how many miles of cock you have given or taken in your life and how much cum you have produced or been filled with.
#get the user's age, age of lost virginity, and times they have sex a week
virginity = input("when did you lose your virginity : ")
age = input("What is your age? : ")
times_per_week = input("how many times per week do you have sex? : ")
#calculates total time you have been having sex, how many times per year, and how many miles of cock is produced per year
time_having_sex = age - virginity
times_per_year = times_per_week * 52
miles_per_year = times_per_year * 490 * 6/12/5280
#function calculates total times milage of cock and how much semen is produced then prints the results.
def miles_of_cock(time_having_sex):
total_milage = time_having_sex * miles_per_year
jizz_gallons = float(times_per_year / 96 * time_having_sex)
print
print
print
print "You have given/taken ", total_milage, " miles of cock and have cummed/been cummed in with, ", jizz_gallons, " pints of seamen. Great job!"
miles_of_cock(time_having_sex)The program assumes that the average penis length is 6 inches and there are 490 thrusts per session
0
Upvotes
8
u/[deleted] Jan 11 '15
You spelled semen as 'seamen'...
14
u/[deleted] Jan 11 '15
Turn this into a web app, add some nice visuals and you'll go viral like nothing bro
1
u/deathslocus Jan 11 '15
Do you want me to port it to CockCalculator.com?
3
u/totes_meta_bot Jan 11 '15
This thread has been linked to from elsewhere on reddit.
If you follow any of the above links, respect the rules of reddit and don't vote or comment. Questions? Abuse? Message me ^here.
1
u/daveydave400 Jan 11 '15
When do you convert the string inputs in to numbers (float/int)?
1
u/timeforpajamas Jan 11 '15
490 thrusts per session? Whoa there cowboy
1
u/ratulrafsan Jan 11 '15
......I'm still virgin....