- #1,716
- 19,087
- 14,765
Mathematicians are an emotional bunch, while programmers are calm, soft and cuddly!jack action said:
And it is easily possible, as the conductor runs through the train.JT Smith said:Made me laugh. But the joke perhaps ought to be modified slightly since the conductor doesn't control the train, the engineer does.
def factorial(number):
if(number==1):
return 1
else:
return number*factorial(number-1)
def factorial ( number ) :
if ( number == 1 ) :
return 1
else :
return number * factorial ( number - 1 )
Hilarious. You could rewrite post-Corona virus factorial() to use masked variables.jack action said:Before Coronavirus:
After Coronavirus:Python:def factorial(number): if(number==1): return 1 else: return number*factorial(number-1)
Python:def factorial ( number ) : if ( number == 1 ) : return 1 else : return number * factorial ( number - 1 )
So that's how they write anti-virus programs!jack action said:Before Coronavirus:
After Coronavirus:Python:def factorial(number): if(number==1): return 1 else: return number*factorial(number-1)
Python:def factorial ( number ) : if ( number == 1 ) : return 1 else : return number * factorial ( number - 1 )
C++ would be better the better mask. It can catch exceptions.mfb said:Test numbers for infection before you allow them to multiply.
Similarly, PIN, not PIN number. -- temporarily missed your earlier post and that of @George Jones on this . . .WWGD said:And my 1st world gripe: ATM, not ATM machine.
When translating 'please' at the beginning of a request sentence, I tend to use 'prière de (bien vouloir)', and 's'il vous plaît' when it's (less formally) placed at the end.fresh_42 said:P stands for plaisir, not please.
Though, it's hard to compete with real life ...davenn said:
jack action said: