Тёмный

or statement // Python One-Liner Tips & Tricks 

Noah Rubin
Подписаться 23 тыс.
Просмотров 456
50% 1

In this episode, we learn about a special or statement in Python that helps simplify certain if/else statements.

Опубликовано:

 

24 янв 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@thomas.milburn
@thomas.milburn 5 лет назад
Great video, I have been using python for almost a year and did not know most of the content in this video. Please carry on the series :)
@pratyay4965
@pratyay4965 5 лет назад
Nice!
@georgezolla4580
@georgezolla4580 5 лет назад
Nice! I don’t know how to use the input() yet so I used the following in IDEL: a=1 b=“” Print(a or ‘Empty’) #prints 1 Print(b or “Empty’) #prints Empty
@NoahRubinCoding
@NoahRubinCoding 5 лет назад
input() will be coming to CS University soon!
@georgezolla4580
@georgezolla4580 5 лет назад
I figured how to use Input(). Used your statement in the window we write the code, ran it and then entered a number or an empty srting in the IDEL Run window.. Worked! Are there specifc names for those 2 Windows?
Далее
Python One-Liner Tips & Tricks (Overview)
8:59
Просмотров 1,8 тыс.
5 Good Python Habits
17:35
Просмотров 432 тыс.
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
key Function // Python One-Liner Tips & Tricks
12:32
Просмотров 2,2 тыс.
Solve any Star Pattern program in Python
18:44
Просмотров 880 тыс.
Python Decorators in 15 Minutes
15:14
Просмотров 431 тыс.
Sets // Python One-Liner Tips & Tricks
8:28
why are switch statements so HECKIN fast?
11:03
Просмотров 390 тыс.
11 Tips And Tricks To Write Better Python Code
11:00
Просмотров 605 тыс.
Python Logging - Tutorial
15:02
Просмотров 153 тыс.
How To Use Functions In Python (Python Tutorial #3)
14:55
Premature Optimization
12:39
Просмотров 772 тыс.