Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Galaxy (0.05 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    Then with `random.choice()` we can get a **random value** from the list, so, we get a tuple with `(id, name)`. It will be something like `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")`.
    
    Then we **assign those two values** of the tuple to the variables `id` and `name`.
    
    So, if the user didn't provide an item ID, they will still receive a random suggestion.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/query-params-str-validations.md

    Потім, використовуючи `random.choice()`, ми можемо отримати випадкове значення зі списку, тобто отримуємо кортеж із `(id, name)`. Це може бути щось на зразок `("imdb-tt0371724", "The Hitchhiker's Guide to the Galaxy")`.
    
    Далі ми **присвоюємо ці два значення** кортежу змінним `id` і `name`.
    
    Тож, якщо користувач не вказав ID елемента, він все одно отримає випадкову рекомендацію.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 14:17:24 UTC 2025
    - 26.1K bytes
    - Viewed (0)
Back to top