This is also called "nested condition", but here we have a speciel case that can improve code readability, and reduce the chance for anr error - we can write: a = 9 If mod(a,2)=0 % MOD - modulo operation, return the remainder after division of 'a' by 2 But what if we want to check a second condition in case that the first one was false. Using else we can perform some task when the condition is not satisfied. Ordinary Differential Equations (ODE) Solvers.Fourier Transforms and Inverse Fourier Transforms.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |