How can I do this way?


each method calls on a separate line

#Here's my failed try
name = 'Mihai'


you can chain methods (lowercase, uppercase, reverse) together:


as shown in the instructions


no, I want the other way by writing multi-lines I knew how to use the one-line chain methods


but then you would need to save the conversion done:

name = 'Mihai'
name = name.downcase
#and so on

othwerise, you don't store the result anywhere


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.