Python Code to test a Puzzle and learn to do basic Math operators Add, Subtract, Multiply, Divide
#pythonforbeginners #tutorialsupport #pythontutorial
This video starts with a fun puzzle that guesses the remainder of a few math operations. We then go back to our OTP program to write the code to simulate this Quiz and test that it works with all kind of numbers.
To do this, we need a variable to store the original number, and we look at the basic Math operators.
Link to Python documentation for Operations on Numeric Data Types
https://docs.python.org/3/library/stdtypes.html
This is your opportunity to now code to do some more Math and have fun.
Do you know of similar Math Quizzes that you want to try out?
0:10 - Play the Quiz on Guessing the Math number residual
0:40 - Getting back to Pycharm Editor
1:17 - Summary on Generating 6-Digits OTP
2:24 - Listing down the steps to Code the Puzzle
Think of a number;
1 - Double it
2 - Now add 10
3 - Half the number, ie divide by 2
4 - Subtract your original number
What is the answer??
2:55 - Memorizing number and need of using variable in programming
3:44 - Different ways to store data
4:13 - using your first variable
4:56 - Coding the Quiz
5:39 - Using * for Multiplication
6:10 - Using + for Adding
6:29 - Using - Divide
6:43 - Need of another variable for the original number
7:34 - Using - Subtract
8:00 - Run the program
8:33 - Explore changing OTP in differs range and retest
8:52 - Summary of what we learnt
9:14 - How to look at the documentation to see the Math operators
9:44 - Importance of you Coding yourself
10:14 Lewis Carrol, Alice In Wonderland author and a Mathematician
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Python Code to test a Puzzle and learn to do basic Math operators Add, Subtract, Multiply, Divide», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.