Загрузка страницы

The ELIF keyword [Python Fundamentals]

👉🏻 Download Our Free Data Science Career Guide: https://bit.ly/3aohBLX
👉🏻 Sign up for Our Complete Data Science Training with 57% OFF: https://bit.ly/2PPSM25

The elif keyword - Adding a second 'if' statement to an expression!

In this lesson we'll learn an elegant way of adding a second if statement to one of our expressions. This is done with the help of the Elif kit as shown in this example. If Y is not greater than five the computer will think else if Y is less than five, written Elif y is less than five then I will print out less and the else statement follows as a tail with a respective block that says return equal. Let's confirm we wrote the code correctly we can print out the compared to five function with a value of y equal to ten in the following way...

► Consider hitting the SUBSCRIBE button if you LIKE the content: https://www.youtube.com/c/365DataScience?sub_confirmation=1

► VISIT our website: https://bit.ly/365ds

🤝 Connect with us LinkedIn: https://www.linkedin.com/company/365datascience/

365 Data Science is an online educational career website that offers the incredible opportunity to find your way into the data science world no matter your previous knowledge and experience. We have prepared numerous courses that suit the needs of aspiring BI analysts, Data analysts and Data scientists.

We at 365 Data Science are committed educators who believe that curiosity should not be hindered by inability to access good learning resources. This is why we focus all our efforts on creating high-quality educational content which anyone can access online.

Check out our Data Science Career guides: https://www.youtube.com/playlist?list=PLaFfQroTgZnyQFq4nUfb-w2vEopN3ULMb

#ELIF #Python #DataScience

Видео The ELIF keyword [Python Fundamentals] канала 365 Data Science
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
2 ноября 2017 г. 18:31:07
00:05:34
Яндекс.Метрика