QUOTE(jugaad @ 20 Aug, 2009 - 02:30 AM)

I am just looking a help from python experts:
program to calculate the volume and surface area of a sphere from its radius, given as input. Use the following formulas for reference. Limit your numbers to 4 decimal places using string formatting
1. Numerologists claim to be able to determine a person’s character traits based on the “numeric value” of a name. The value of a name is determined by summing up the values of the letters of a name where “a” is 1, “b” is 2 and so on. Write a program that calculates the numeric value of a single name provided as input.
2. Using the file giftFile.txt supplied, write a program that takes each line of the file and writes a thank you note to the giver of the gift. For example, the first letter would read:
Dear Fred,
Thank you for the wonderful sheets.
What a thoughtful wedding gift.
Love
<put your name here>
The thank you letter should be one string and the variables (ie the name, gift and occasion) should be put in using string formatting techniques
3. Ballarat Beans is a mail-order coffee shop which sells coffee for $23 a kilogram plus the cost of shipping. Each order is shipped for $1.20 per kilogram (rounded up to the nearest kilogram). Write a program to calculate the cost of an order. Use string formatting to limit the figures in your output to 2 decimal places.