Hello guys. I was wondering if it is possible to execute certain commands within a if statement if two conditions are true. I know that in C++ and JavaScript you can do something like
if (5 > 4 && 3>4) {
cout << "Hello, world!"
}
or in JavaScript
if (5>4 && 3>4) {
document.write( "Hello, world!")
So can you do the same thing in Python? Thanks :-)
if (5 > 4 && 3>4) {
cout << "Hello, world!"
}
or in JavaScript
if (5>4 && 3>4) {
document.write( "Hello, world!")
So can you do the same thing in Python? Thanks :-)
Comment