+ 12
Hi what do you know about if statement ???
I am asking silly question ...yes correct ...but this time to learn big things of if statement with brief information!!!
18 Respostas
+ 16
How did you get the Python certificate without understanding if statements?
+ 12
Try to explain briefly!!!
+ 11
I know David Ashton I love to know how to understand others
+ 10
well if...
if (something true){
do action
}
else if (first thing not true and this is true){
do action
}
if(statements...){
action
}
else(do if first not true){
action
}
+ 5
This sounds more like an opinion piece for your personal feed then.
+ 4
David Ashton yeah lol how is that even possible? maybe there's some sort of exploit?
+ 4
It executes code based on a condition. It allows you to handle information you don't know upfront.
It can change the entire course of a program based on a single value
+ 4
it goes like this
if(something){
do this
}
else(does not work for if){
do this
}
elif(something else){
do this
}
+ 3
If is explained in every single beginner's tutorial.
So what exactly do you expect to get from this post?
+ 3
It's the same in every language,
If-else statement is just if-else statements.
+ 1
Are you asking to see what we, the public/community knows?, or are you asking because you don't know and want to suck up our knowledge like a Shamwow to water?
If the latter, then will it do any good? I'm only asking because you're pretty lvl'd, and you are still asking to learn about if statements?
Else:
How about YOU start us off by telling us what YOU know first ?...
+ 1
If statement used if you want to do something like the butterfly effect.
Lol
+ 1
if
one of my favourite poems.
https://www.poetryfoundation.org/poems/46473/if---
if(you master if and all thats in it){
you=a man (my son) ;
}else{
stop coding immediately & & turn off your mobile/computer};
;)
+ 1
if the condition is true the statement get executed
0
if Statement is one of the conditional statement,it can change the control of execution rather than sequential (default execution),,,,
if Statement holds the condition,,,if the condition is true then only the block of statements will execute ,,,if not the statements after the if block will execute,,,,,
Syntax:
if(condition)
{
// block of statements
}
0
Hello
- 1
know your conditions
- 1
I find it surprising that this thread hasn't got the typical 'behave like this' link wall.