|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
value_of_day = 24
|
|
|
|
|
def user_request(take_and_transfer):
|
|
|
|
|
if take_and_transfer > 0:
|
|
|
|
|
#value_for_day = 24
|
|
|
|
|
value_for_time = "hours"
|
|
|
|
|
return f"{take_and_transfer} day is equal to {take_and_transfer * value_for_day} hours"
|
|
|
|
|
else:
|
|
|
|
@ -10,3 +9,12 @@ enter_a_value = int(input("Enter a valid number to know how many minutes in a gi
|
|
|
|
|
print(user_request(enter_a_value))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def reversingvalue(uservalue):
|
|
|
|
|
print(uservalue)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
newvalue = reversed(uservalue)
|
|
|
|
|
reversingvalue(newvalue("Spencer"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|