An IF statement is used for decision making. It is vital to use the correct syntax, otherwise it will not work. An IF statement starts with an if in lower case. The colon : means 'then'. For example, if the condition is true THEN print 'success!'
After the colon, there should be an indentation (space at the front) on the next line, for example when writing the print statement.
На этой странице сайта вы можете посмотреть видео онлайн Basic IF statement in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Computer Science with DM 29 Май 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 5 раз и оно понравилось 0 зрителям. Приятного просмотра!