human
how to reverse a priority queue in Python without using classes?
assistant
Here is some code to reverse a priority queue `q` in python without using classes

q.put((-n, n))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.