Cara Mengatur Kunci Bersyarat di Python
apple = 'green'
orange = None
params = urllib.urlencode({
'apple': apple,
**({ 'orange': orange } if orange else {})
})
Salo Hopeless