0
Below is my program for reverse method which I couldn't get the output of: could you tell me the reason?
letters = ['p', 'q', 'r', 's', 'p', 'u'] print(letters.reverse())
3 Answers
0
letters.reverse()
print (letters)
use a line to call the method first then second line to print.
0
you are trying to do 2 things at once, which in this case is not possible. you are trying to print while reversing. do reverse first in a separate line and then print and everything will be peachy đ
0
it doesn't shows any error though,simply an output as "none".Why so?