Тёмный

User Input Lab (Lesson 4 // CS University) 

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

In this lab, we practice dealing with user input in Python by making a very simple addition calculator.

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

 

4 фев 2019

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@nro337
@nro337 5 лет назад
This is amazing♥️
@georgezolla4580
@georgezolla4580 5 лет назад
The fun part will be in figuring out how to do the error checking. I tried a couple of If statements checking if the input was a float but I couldn’t get it to work. Looking forward the solution.
@NoahRubinCoding
@NoahRubinCoding 5 лет назад
You’d either need to use a regular expression or a try/catch block. The former is beyond the scope of this lecture series, but I think I have videos on it. The latter will be covered later on.
@georgezolla4580
@georgezolla4580 5 лет назад
@@NoahRubinCoding Ok I will look for some of your lectures!
@georgezolla4580
@georgezolla4580 5 лет назад
@@NoahRubinCoding Wow! The Try/Catch block is awesome!
Далее
Everything Starts with a Note-taking System
21:23
Просмотров 176 тыс.
Double Stacked Pizza @Lionfield @ChefRush
00:33
Просмотров 7 млн
Lady Plays Hide and Seek with Her Dog
00:23
Просмотров 9 млн
Solve any Star Pattern program in Python
18:44
Просмотров 880 тыс.
How Our Relationships Reveal Our True Selves
4:53
Просмотров 41 тыс.
If __name__ == "__main__" for Python Developers
8:47
Просмотров 387 тыс.
The Highest UNEMPLOYMENT Rates in the World
6:31
Просмотров 15 тыс.
The Algorithm Behind Spell Checkers
13:02
Просмотров 407 тыс.
MultiPhone: Connecting 100 iPhones with a Custom App
17:13
Adobe is horrible. So I tried the alternative
25:30
Просмотров 592 тыс.