How can i use if-else statements #14
-
|
How can I use if-else statements |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
Ok so like this use if else: |
Beta Was this translation helpful? Give feedback.
-
|
it's because i want to seperate control statements like for,if,else,else if with block of code such as classes, functions. |
Beta Was this translation helpful? Give feedback.
-
|
but yes i am also thinking to replace so for condition statements so. |
Beta Was this translation helpful? Give feedback.
-
|
In python when we write IF-ELSE, FOR, CLASS, and FUNCTIONS all have the same syntax Statement colen Statement: One Rule implemented on all statements that's the reason Python is easy and simple for our brain IF Conditions For LOOP Functions Class |
Beta Was this translation helpful? Give feedback.
but yes i am also thinking to replace so for condition statements so.