Python
obj = {
'name': 'Victor'
}
for key in obj:
print("key: %s, value: %s" % (key, obj[key]))
Javascript:
let obj = {
name: 'Victor'
}
for (key in obj) {
console.log(`Key: ${key}, value: ${obj[key]}`);
}
For further actions, you may consider blocking this person and/or reporting abuse
Lorenz Vanthillo -
Andrew Elans -
Mohammad Hafijul Islam -
Manjush -
Top comments (0)