Learn Selenium Python For Absolute Beginners Tutorial 20 (Functions)

preview_player
Показать описание
In part twenty of the test automation for beginners series, Tim breaks down Python functions. Functions are reusable code that can be called to write better programs. It helps the test automation engineer write less code.

Functions take in arguments(inputs) and returns (outputs) that can be defined when the function is being initialized.

In this talk Tim shows how to:

- Write a function with no paramaters
- Write functions with multiple parameters
- Write a function with business logic than can be called
- Define docstrings within a function
- Use built-in functions that come with the Python programming language.

Link To Python 3's Built-in Functions:

Please share your thoughts in the comments below!

Looking forward to hearing from you.

Check out TestDemy's FREE Course: How To Get Started In Software Testing With No Experience:

Рекомендации по теме