+ 1
In python you can put if arguments into functions and elsewhere like in print() and it will evaluate? What does this mean?
So doing the python core course i saw they uswd print("hello" == "hello") and it evaluates to true, this is different from what i know jn php where u would require to use if function tk begin the evaluation. Why is this
3 odpowiedzi
+ 4
it’s the same also in php & every language
echo “hola”===“hola”;
It outputs 1 which means True.
+ 1
Wow I dont know how I never noticed that ever! Thanks!
0
hmmmm i suppose a 'statement' as its called, the factor on which an if works, can be placed _____ places in code. One day ill learn this logic of programming and with appropriate terms committed to memory. It shall b3 much easier to understand programming as a whole and learn new languages :)