Python Monthly from Hourly Cost Calulator

A short script to calculate the daily/monthly/annual costs from an hourly cost value (Useful for AWS bill calculation!) printing the resulting cost in GBP.

# -*- coding: utf-8 -*-

# Ask for Hourly Cost
cost = float(input("What is the Hourly cost? "))

# Calculate Costing

# Print Results
print "Costing based on hourly cost of £%.2f" % cost + " is:"
print "Daily: £%.2f" % daily
print "Annually: £%.2f" % annually
print "Monthly: £%.2f" % monthly

Any comments or questions? Get in touch here or Email me at [email protected]