Lesson 19 Python(level 2) function part 2, return arguments

Publicado em: 14 Abril 2024
no canal de: code_way
37
5

Hi, thanks for viewing.

Automation QA course Python(pytest)    • QA Automation  

Here's how to install PyCharm and Python:    • Installing Python and PyCharm on macO...  

Here's how to work with Git:    • GitHub UI: Edit and download code wit...  

Python for beginners:    • Lesson 2 Python: Data input (input), ...  

Python level 2:    • Python level 2  

Tasks for better understanding:
Task 1
Write a function sub_numbers that takes two arguments num1 and num2 and returns the result of the subtraction.
Task 2
Write a function check_even_odd that takes a number "number" and returns the string "Even" if the number is even, and "Odd" if the number is odd. (An even number is a number that is divisible by 2 without remainder).
Task 3
Write a function find_max that takes three numbers num1, num2, and num3 and returns the largest of them.

Test based on this lesson:
https://docs.google.com/forms/d/e/1FA...


Nesta página do site você pode assistir ao vídeo on-line Lesson 19 Python(level 2) function part 2, return arguments duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário code_way 14 Abril 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 37 vezes e gostou 5 espectadores. Boa visualização!