Why task 3,4,5 is not opening?? What to do | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why task 3,4,5 is not opening?? What to do

https://www.sololearn.com/coach/22?ref=app

9th Jan 2021, 1:53 PM
S. V. Shivaani
S. V. Shivaani - avatar
9 Answers
+ 4
You can't unlock them ,it's done to prevent cheating or forming such answers just to feed those tasks . You need to re read the question and do exactly what they asked and you will pass all tasks
9th Jan 2021, 2:01 PM
Abhay
Abhay - avatar
+ 3
To simply prevent cheating. In challenges you are supposed to make a universal code that will work for all possible values. It is impossible to check all the possible values, so the challenges use test cases. If you would know all of the values that these cases input, you could make a code that gives right output only for these 5 values, and that would not make sense, but would still work.
9th Jan 2021, 1:55 PM
Qwerty Uiop
Qwerty Uiop - avatar
+ 2
You need to copy paste your code here for us to see the code you have tried
9th Jan 2021, 1:54 PM
Abhay
Abhay - avatar
+ 2
S. V. Shivaani Try testing your own values and see if you get one of them wrong. Try to troubleshoot your code to see what kinds of values break the logic UPD: There is no way you can unlock them
9th Jan 2021, 1:59 PM
Qwerty Uiop
Qwerty Uiop - avatar
+ 2
S. V. Shivaani you need to get the input. In python for example if the sample Input is an integer. x = int(input()) Then it is up to you how you will code to make this work and always satisfy the expected output whatever the inputs may be.
9th Jan 2021, 2:12 PM
noteve
noteve - avatar
0
My code was correct first two tasks came correct but it's showing hidden for task 3,4,5 in that case what we have to doAbhay Qwerty Uiop
9th Jan 2021, 1:58 PM
S. V. Shivaani
S. V. Shivaani - avatar
0
I am asking how to unlock that?
9th Jan 2021, 1:58 PM
S. V. Shivaani
S. V. Shivaani - avatar
0
Okk
9th Jan 2021, 2:01 PM
S. V. Shivaani
S. V. Shivaani - avatar
9th Jan 2021, 2:02 PM
S. V. Shivaani
S. V. Shivaani - avatar