So I just started coding and I chose python. I was working with lists and I noticed something kinda odd.
wishPlaces = ["Tokyo","Hong Kong","New York","Paris","London"]
print("\n"+str(wishPlaces.reverse()))
if I write it that way, then once executed it shows "None" as a result (I use geany IDE)
But it's okay when I write:
wishPlaces = ["Tokyo","Hong Kong","New York","Paris","London"]
wishPlaces.reverse()
print("\n"+str(wishPlaces))
Can somebody help me by telling what's wrong with the previous line of code?