What are if...else statement in Python?
Decision making is required when we want to execute a code only if a certain condition is satisfied.
example:-
If the number is positive, we print an appropriate message
num = 3
if num greater then 0:
print(num, "is a positive number.")
print("This is always printed.")
num = -1
if num greater then 0:
print(num, "is a positive number.")
print("This is also always printed.")
website:-https://coderworld109.blogspot.com/
Смотрите видео if statements in python 3 part-7 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Cook The Code 05 Январь 2018. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 3 раз и оно понравилось 0 посетителям.