Översättning av "python code" på ukrainska
Vi kunde inte hitta den här posten. Visar ungefärliga resultat. Kontrollera stavningen eller föreslå att den här termen läggs till i ordlistan.
You can see that the fields from the Basic mode have been translated to python code in a straightforward manner. We need to add instructions to this recipe to use the print version of the articles. All that's needed is to add the following two lines
Як бачите, поля з Базового режиму перетворилися на код python у доволі очевидний спосіб. Нам слід додати до цього рецепту інструкції для використання друкованої версії статей. Для цього достатньо додати такі два рядки
As an illustration, consider the following piece of Python code
Але що, якщо взяти для прикладу наступний шматок коду на Python
Or you may rewrite the existing Python code, optimizing it for greater speed.
Можна переписати існуючий Python- код, оптимізуючи його для більшої швидкості.
In the top part, which we call the editor, you can enter Python code.
У верхній частині вікна, яка називається "редактор", ви можете вводити код.
For question 2, your goal is to write some Python code that prints out the number of hours in 7 weeks.
У завданні 2 вам потрібно написати на Python код, який виводить кількість годин у 7 тижнях.
The question is "Write Python code that stores the distance in meters that light travels in one nanosecond in the variable nanodistance."
Завдання таке: напишіть на Python код, який розміщує виражену в метрах відстань, яку світло долає за секунду, в змінну nanodistance.
The calculation necessary in our example is very simple, we simply add the two sets of coordinates, and divide the new set by two. We then construct a new point using the result. The Python code needed is
Розрахунки, які потрібні у нашому прикладі, дуже прості: ми просто додаємо два набори координат і ділимо отриманий набір навпіл. Потім ми будуємо нову точку за отриманим результатом. Ось відповідний код мовою Python
To create a new function, simply click the Create/edit button to create a new function and copy the Python code from below.
Щоб створити нову функцію, просто натисніть кнопку Створити/Редагувати для створення нової функції і скопіюйте код Python, наведений нижче.