forked from HiPyLiv/HiPyProject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
strings.py
42 lines (33 loc) · 861 Bytes
/
strings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
def numerical_to_written_date(date):
months = {1: "January",
2: "February",
3: "March",
4: "April",
5: "May",
6: "June",
7: "July",
8: "August",
9: "September",
10: "October",
11: "November",
12: "December"}
if '/' in date:
date = date.replace('/', '.')
date = date.split('.')
return "{} {}, {}".format(months[date[1], int(str(date[0])), date[2])
def feet_to_meters():
pass
def inches_to_centimeters():
pass
def gallons_to_liters():
pass
def quarts_to_liters():
pass
def meters_to_feet():
pass
def inches_to_centimeters():
pass
def celsius_to_farenheit():
pass
def farenheit_to_celsius():
question = input("What do you want to convert?")