<human>:  how to reverse a priority queue in Python without using classes?
<bot>: 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.