Is there any difference between these two since they give the same result,
and when is the second preferred?

>>> x = 'ABE'
>>> x.lower()
'abe'
>>> str.lower(x)
'abe'

-- 
Jim
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to