What behavior is expected from the following code?
reversed(string) produces the characters '3', '2', and '1'. Each is converted to an integer and added to dummy, so the printed total is 6.
reversed(string)
'3'
'2'
'1'
dummy
6
Community Discussion