Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Python for Testers #20 – How to use If Else in Python

11.7K views on YouTube

Get all my courses for USD 5.99/Month – https://bit.ly/all-courses-subscription
In this Python for Testers Tutorial we will learn how to use If Else in python. It is very important to understand python if else and know how to you can use it in Python programming or selenium with python automation.

The if else syntax in Python for a simple if statement is as follows:

if condition :
indented Statement Block (Indentation is important)

As python relies on indentation and not curly braces to define scope as in other language like Java, you can read the above syntax as, If the condition is evaluated to true, then execute the indented statements and if the condition is not evaluated to true, then skip the indented statements.

FULL Playlist: http://bit.ly/SeleniumPythonTutorial

🔸FREE Training’s at https://training.rcvacademy.com 🔔SUBSCRIBE to CHANNEL: https://bit.ly/2YGU6JM

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

✅ ALL PLAYLISTS (Software Testing Mentor)🔸 https://www.youtube.com/SoftwareTestingMentor
✅ ALL PLAYLISTS (RCV Academy)🔸 https://www.youtube.com/channel/UCddUDR_BxsWJRwPinmBcZ8g
✅ JIRA BEGINNER TUTORIAL🔸 http://bit.ly/jira-beginner-tutorial
✅ JIRA WORKFLOW TUTORIAL🔸 http://bit.ly/2EzKOEB
✅ JIRA ADMINISTRATION TUTORIAL🔸 http://bit.ly/36MPPFR
✅ JIRA TUTORIAL INTERMEDIATE🔸 http://bit.ly/Atlassian-JIRA-tutorials
✅ JIRA TUTORIALS🔸 http://bit.ly/jira-tutorials
✅ ZEPHYR TUTORIAL🔸 http://bit.ly/zephyr-for-jira-tutorials
✅ SOAPUI TUTORIAL🔸 http://bit.ly/Sopui-tutorial
✅ JSONPath TUTORIAL🔸 http://bit.ly/2sIZIFG
✅ POSTMAN TUTORIAL🔸 http://bit.ly/2PBbhI7
✅ ISTQB AGILE TESTER CERTIFICATION TUTORIAL🔸 http://bit.ly/istqb-agile-tester-certification
✅ ISTQB FOUNDATION LEVEL CERTIFICATION TUTORIAL🔸 http://bit.ly/istqb-foundation-level-training
✅ CUCUMBER SELENIUM TUTORIAL🔸 http://bit.ly/cucumber-selenium-tutorial
✅ TESTRAIL TUTORIAL🔸 http://bit.ly/testrail-tutorial
✅ AGILE TUTORIALS🔸 http://bit.ly/agile-tutorials
✅ PYTHON TUTORIALS🔸 http://bit.ly/python-programming-tutorials
✅ PYTHON BEHAVE TUTORIALS🔸 http://bit.ly/python-behave-tutorial
✅ PRACTITEST TUTORIAL🔸 http://bit.ly/practitest-tutorial
✅ JAVA TUTORIAL🔸 http://bit.ly/2F1iL1B
✅ ZEPHYR TUTORIAL🔸 http://bit.ly/zephyr-for-jira-tutorials

🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶
http://training.rcvacademy.com/

🔶 FOLLOW US ON TWITTER 🔶


🔶 LIKE US ON FACEBOOK 🔶
https://www.facebook.com/softwaretestingmentor
https://www.facebook.com/rcvacademy47/

🔶 OUR TUTORIAL WEBSITES 🔶
https://www.softwaretestingmentor.com
https://www.rcvacademy.com

🔶 GET MY TRAININGS ON UDEMY 🔶
https://www.udemy.com/user/manish68/

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

Join this channel to get access to perks:
https://www.youtube.com/channel/UCzOMBStlSDfyai6rWdK3hWw/join