Question
Exercise 1:Let's assume you are planning to use your Python skills to build a social networking service. You decide to host your application on servers
Exercise 1:Let's assume you are planning to use your Python skills to build a social networking service. You decide to host your application on servers running in the cloud. You pick a hosting provider that charges $0.51 per hour. You will launch your service using one server and want to know how much it will cost to operate per day and per month.Write a Python program that displays the answers to the following questions:How much does it cost to operate one server per day?How much does it cost to operate one server per month?Exercise 2:Building on the previous example, let's also assume that you have saved $918 to fund your new adventure. You wonder how many days you can keep one server running before your money runs out. Of course, you hope your social network becomes popular and requires 20 servers to keep up with the demand. How much will it cost to operate at that point?Write a Python program that displays the answers to the following questions:How much does it cost to operate one server per day?How much does it cost to operate one server per month?How much does it cost to operate twenty servers per day?How much does it cost to operate twenty servers per month?How many days can I operate one server with $918?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started