mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
9 lines
165 B
Python
9 lines
165 B
Python
repos = js_vars['repos']
|
|
|
|
star_sum = 0
|
|
|
|
for repo in repos:
|
|
star_sum += repo['stars']
|
|
|
|
return 'Average github trending star count: ' + str(star_sum / len(repos))
|