Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
You should not put return 0, as it can be confused with examples like (18-18) or (18*0) or maybe when puyying (18/0) it is not logical that i'll get 0!.
Just simple if else statements does the trick
Good)
we are asked only those four operators, not "exponentiation"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Same here
This comment is hidden because it contains spoiler information about the solution
в некоторых случаях eval может навредить, поэтому достаточно хорошая альтернатива бро
This comment is hidden because it contains spoiler information about the solution
You would just test adding multiple sets of numbers to confirm that it's working.
This comment is hidden because it contains spoiler information about the solution
activates default, right?
Same :D
What will you do if the exponentiation operator is passed?
easy
Loading more items...