On Jan 18, 12:01 pm, "Joe Goldthwaite" wrote:
> I'm not sure I understand the question completely but maybe the function
> below does what you want.
>
> def lower_case(s):
>
> return “Testing Functions-lower case: ” + s.lower()
>
> print lower_case(‘AbCdEfG’)
>
> __
I'm not sure I understand the question completely but maybe the function
below does what you want.
def lower_case(s):
return Testing Functions-lower case: + s.lower()
print lower_case(AbCdEfG)
From: python-list-bounces+joe=goldthwaites@p
> """how can i use a return statement to write a function that returns the
> string "Testing Functions-lower case: "and the lowercase representation of
> its string parameter""" If I uncomment the above, nothing outputs to
> console:(
def lower_case(s):
return "Testing Functions-lower case: %