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. #!/usr/bin/python # -*- coding: utf-8 -*- # Ask for Hourly Cost cost = float(input(“What is the Hourly cost? “)) # Calculate Costing daily=float(cost*24) annually=float(daily*365) monthly=float(annually/12) # Print Results print “Costing based Read more about Python Monthly from Hourly Cost Calulator[…]