1 month ago
Roger Hammersley
+ £7.50 Gift Aid
Go for it and have fun!
1 month ago
+ £7.50 Gift Aid
Go for it and have fun!
1 month ago
+ £5.00 Gift Aid
Enjoy your run, Fiona!
1 month ago
+ £2.50 Gift Aid
Woo 👏🏻👏🏻
1 month ago
+ £2.50 Gift Aid
run, Fiona, ruuuun
Event date: 20th October 2024
Fiona MacNeill is raising money for Codebar
I’m participating in the Great South Run for codebar Brighton to support diversity in tech. I'm a kickboxer first and foremost, but running is my second sport and I enjoy it the most when it is for a good cause. For those unfamiliar with codebar's work, they help people who are underrepresented in tech to learn how to code.
Your support will help to drive change and promote inclusivity in the tech industry. Thank you for backing this important cause. #codebar #codebarBrighton
Thank you for checking out my page. Making a donation is fast, easy and secure thanks to Give as you Live Donate. They'll take your donation and pass it onto Codebar.
1 month ago
Yesterday, I completed both running and coding training. I decided to start building myself a little tool, to help calculate my running stats. This can only get better as I learn more! Not bad for only three lessons in!
>>> from decimal import *
>>> getcontext().prec = 3
>>>
>>> # Create, input and store the variable for miles run
>>> miles = input("How many miles did you run?")
How many miles did you run?3.10
>>> # Create, input and store the variable for times taken
>>> time_taken = input("How long did it take you in minutes and seconds?")
How long did it take you in minutes and seconds?24.19
>>> # Calculate the time taken per mile
>>> time_per_mile = Decimal(time_taken) / Decimal(miles)
>>>
>>> # Muliple the time taken per mile to 10 miles
>>> time_for_ten_miles = time_per_mile * 10
>>>
>>> # Set the context for the decimal (minutes). Get the number of hours in the minutes calculation
>>> getcontext().prec = 2
>>> hours_minutes = time_for_ten_miles / 60
>>>
>>> # Time to break the hours from the minutes
>>> hours = hours_minutes
>>>
>>> # Split the hours and minutes into a list
>>> minutes = str(hours).split('.')
>>>
>>> # Call the bits of the list that you want
>>> h = minutes [0]
>>> m = minutes [1]
>>>
>>> # Convert minutes in a percentage float
>>> m = float(m)/10
>>>
>>> # Find out how many minutes there are - percentage of 60
>>> mx = m*60
>>>
>>> # Recast the minutes percentage as a string, to rip out the decimal point. There has to be a better way on doing this - one for codebar.
>>> mx = str(mx).split('.')
>>> mx = mx [0]
>>>
>>>
>>> answer_miles = "Well done! You ran " + str(miles) + " miles in " + str(time_taken) + " minutes" +". This means that you can run 10 miles in " + str(h) + "-hour/s and " + str(mx) + " minutes."
>>>
>>> print(answer_miles)
Well done! You ran 3.10 miles in 24.19 minutes. This means that you can run 10 miles in 1-hour/s and 18 minutes.
>>>