My issue
My code
#Once you are clear with the observations / logic, click on 'Next' to proceed
Learning course: Python for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone
#Once you are clear with the observations / logic, click on 'Next' to proceed
Learning course: Python for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone
@jaideeptomar25 - the problem statement states the following
What is the minimum number of operations we must perform so that all the cards face in the same direction (i.e. either all are face-up or all are face-down)?
It does not say all cards have to be ‘flipped up’.
So for 10 cards, with 4 cards facing up - if we flip 4 cards to get them to face down - all 10 cards will face down.