Python for Testers #26 - Functions in Python | Definition and Examples

preview_player
Показать описание
In this Python for Testers Tutorial we will learn how to use Functions in python. A Python function is a block of code performs certain related actions and can be called again when required. Function can be reused at multiple places.

Help me in spreading the knowledge, please hit LIKE, SHARE, and SUBSCRIBE for the latest tutorials. More tutorial playlists below:

🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶

🔶 FOLLOW US ON TWITTER 🔶

🔶 LIKE US ON FACEBOOK 🔶

🔶 OUR TUTORIAL WEBSITES 🔶

🔶 GET MY TRAININGS ON UDEMY 🔶

#PythonForTesters #PythonTutorial #PythonForBeginners #Python #SeleniumPythonTutorial #TestAutomation #RcvAcademy #SoftwareTestingMentor

Join this channel to get access to perks:
Рекомендации по теме
Комментарии
Автор

- Example Login:
def login(user, passwd):
if user == "ManhNH" and passwd == "Onetwothree":
result = "Login success"
else:
result = "Login unsuccess"
return result

print(login("Manh", "Onetwo"))
print(login("ManhNH", "Onetwothree"))

manhihi