to my mind the differences in syntax between python and lua are like two white, long-sleeved, button-up, collared shirts, but they have different buttons.
The python shirt has a combo of buttons, zippers, Velcro, and drawstrings in different places and with a long history about why it's there and why it made sense at the time but no one would do it that way again.