0

Translation error

Hello English speaking friends! I think I found a small error in translation into Russian in the assignment https://www.sololearn.com/coach/1074?ref=app. here is my code for solving this problem ... I do not quite understand the example in the task: we are given 2 numbers, between which we need to find the numbers 10 and 20. it is logical to take the in range (10, 20) method, but here we will return the numbers [10, 11 ... 18,19] 20 will not be included in this list, it is logical that we add in range (10,20 + 1) there, but then the last test is not executed. Maybe it's just not translated correctly, i need your opinion. Sorry for my English, I hope you understand me o/ https://code.sololearn.com/cWB2LfnlnsCG/?ref=app https://code.sololearn.com/cWB2LfnlnsCG/?ref=app

9th Sep 2021, 12:13 PM
Maxbro
Maxbro - avatar
5 Respostas
+ 3
I cannot see the code coach question as it is a pro code coach. Can you share the screenshot of code coach(in English language)
9th Sep 2021, 1:12 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 2
The question is saying *between the range*. I don't think you need to include 20. Did Sololearn accepted your current solution ?
9th Sep 2021, 2:08 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
9th Sep 2021, 1:21 PM
Maxbro
Maxbro - avatar
+ 1
Hi Maxbro! The code that you shared in description is the correct solution for that practice. That's because, they are just saying that you have to output the prime numbers in the given numbers. It means parameter b is exclusive(not including). Otherwise, they would mention whether we have to include it or not as they did in Sum of consecutive numbers project of Python for beginners.
9th Sep 2021, 3:31 PM
Python Learner
Python Learner - avatar