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.
your code is wrong because you use the logical OR operator
||
between predicates , while the description says:see https://docs.codewars.com/training/troubleshooting/#post-discourse for next time - help us help you by specifying the language used, and your code with a spoiler flag and markdown block
Running into this issue with my current response:
Testing for fixed tests
expected 75 to equal +0
Completed in 2ms
Testing for all possible combinations
exam = 0, projects = 2: expected 75 to equal +0
Testing for 100 random tests
Testing for exam = 59, projects = 5: expected 90 to equal 75
Completed in 1ms
seems good, approved
Sorted!!!!Thank you so much:)
You should look up the difference between logical operators and bitwise operators in python. While you can use bitwise operators here, the difference in operator presedence is likely going to give you unexpected results.
Hy
Don't know what i'm doing wrong..help!!!
it says i passed 1 and failed 1
o should equal 90!
i think my problem was i just didnt read the question properly .. just read it carefully and u can solve it easily
Approved.
Fixed tests are working well while testing, while submitting the same fixed tests are giving errors.
instructions unclear >:c
This is what the difficulty of 8kyu should be. Good exercise.
I have never hated a kata so much.
True!
your code fails fixed test (55, 0)
not a kata issue
The instructions were kinda unclear but otherwise p easy
Loading more items...