×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: kushedow Кушедов
Added: Oct 16, 2021 2:49 PM
Views: 2338
Tags: no tags
  1. def get_single(id):
  2.     planets = get_data()
  3.     planet = planets[id-1]
  4.     return planet