python list append string return empty

Solutions on MaxInterview for python list append string return empty by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "python list append string return empty"
Maddox
17 Apr 2016
1a_list = []
2a_list.append("a")
3
4print(a_list)
5OUTPUT
6['a']