We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
"Note: You can modify at most three lines in the given code. You cannot add or remove lines of code."
If you have used any print statements or changed any lines even just enter or spaces you seem to get "wrong answer" even when the output is right. Implement the 3 changes soley. Worked in Python for me.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Zig Zag Sequence
You are viewing a single comment's thread. Return to all comments →
"Note: You can modify at most three lines in the given code. You cannot add or remove lines of code."
If you have used any print statements or changed any lines even just enter or spaces you seem to get "wrong answer" even when the output is right. Implement the 3 changes soley. Worked in Python for me.