How do you include the number you stated. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

How do you include the number you stated.

https://code.sololearn.com/c1H5Ec37yKtH/?ref=app

31st Jan 2019, 1:06 PM
woo Zhi
woo Zhi - avatar
6 Respostas
+ 2
Yes, in that case, the for loop executes as long as a is smaller or equal to x
31st Jan 2019, 2:34 PM
voidneo
+ 2
Oh
31st Jan 2019, 2:47 PM
woo Zhi
woo Zhi - avatar
+ 2
Why i didnt gave a thought of that
31st Jan 2019, 2:47 PM
woo Zhi
woo Zhi - avatar
+ 2
Thanks everybody
31st Jan 2019, 2:47 PM
woo Zhi
woo Zhi - avatar
+ 1
Sorry I didn't understand you question, could you explain so I can help?
31st Jan 2019, 2:21 PM
voidneo
+ 1
woo Zhi in the for loop you have "a < x" if you want to include the inputted number you need to write "a <= x" šŸ˜‰
31st Jan 2019, 2:27 PM
Mind To Machine šŸ’»šŸ•†
Mind To Machine šŸ’»šŸ•† - avatar