79478721

Date: 2025-03-02 07:03:10
Score: 1
Natty:
Report link

use list() alongside index()

b = {'a': 'a', 'b':'b', 'c':'c'}
print(list(b).index('a')

output:

0

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ali Joghataee