Help with solving task on Ranges | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Help with solving task on Ranges

You need to write a program that takes two numbers as input and outputs a range of numbers between the entered numbers as a list. Example of input data: 2005 2011. Sample output data: [2005, 2006, 2007, 2008, 2009, 2010]

4th Oct 2023, 7:26 PM
PeterMuller35
PeterMuller35 - avatar
6 Respostas
+ 4
This is not a platform to give you readymade code, firstly share your attempt
4th Oct 2023, 7:42 PM
Sakshi
Sakshi - avatar
+ 2
Š˜Š²Š°Š½ ŠŸŠ¾Š»ŠµŠ²Š¾Š¹ Rule is that without your effort community won't help you. You need to show your attempt then only you will get help. Avoid arguments.
7th Oct 2023, 2:42 AM
RšŸ’ šŸ‡®šŸ‡³
RšŸ’ šŸ‡®šŸ‡³ - avatar
+ 1
You have lower value and higher value. Print lower and increase by one till you get ro higher value
4th Oct 2023, 8:10 PM
Drelda
Drelda - avatar
+ 1
Š˜Š²Š°Š½ ŠŸŠ¾Š»ŠµŠ²Š¾Š¹ See what you have written, 'You need to write a program...' and this is learning app if you have doubt then share your attempt but if you thought we solve your task it's not possible until you don't share your attempt we can't help you and Drelda already gives you hint also then try to solve it, if you stuck then share it your code
6th Oct 2023, 8:24 AM
Sakshi
Sakshi - avatar
0
Sakshi, I've already been there many times, that's why I'm writing to help. At least they would give advice. There were some smart ones here
6th Oct 2023, 8:14 AM
PeterMuller35
PeterMuller35 - avatar
0
Sakshi, If you are not interested in helping me, then go by. I'm asking for help, you just came to laugh at the fact that I'm not good at programming. In general, I have already solved the problem, thanks to other people.
6th Oct 2023, 8:38 AM
PeterMuller35
PeterMuller35 - avatar