I have a those variables:

filename = 'test.png'
max_resolution = '512x512'

can you write the code needed to make new_filename equal 'test+512x512.jpg'
user
{"source": "OpenAssistant/oasst2", "kind": "human", "evolved_from": null}
I have a those variables:

filename = 'test.png'
max_resolution = '512x512'

can you write the code needed to make new_filename equal 'test+512x512.jpg'
user
DUMMY RESPONSE
assistant