Is it possible to make this line of code valid?
description, content, state, city, datetime = makeTupleRightOrder(dictionary)
this makeTupleRightOrder would get the ‘parameters’ from the left side of the assignment, convert their names to strings and build a list getting their values from the dictionary.
No. The function has no idea what’s on the left side of the assignment, and even if it did, the variables might well have names different from the keys.