Welcome Guest.


Else clause in the cyclic statement

Asked by: Patricia Brown 5 views IT June 23, 2022

Else clause in the cyclic statement

2 Answers

  1. +5Votes  

    What language do you use?In general programming languages (such as Java, C, C, C ++, C#, etc.), ELSE and For have nothing to do with

    The programming language I know, only python and for related

    IfThere is a BREAK field in the for cycle that causes the for loop to be not executed normally, so the content in else will not be executed.P>

    Rogers- June 23, 2022 |

  2. +5Votes  

    This is a choice. If the if statement does not meet the conditions, the statement will be executed

    Jack Cooper- June 23, 2022 |

Answer Question