can someone help me with a simple *for yous* lines of code..
I need to input a number of no more then 10 or 11 digits. say 01234567890
then need too add them #+#+#+#+#+#+#+#+#+# Then ##+##+##+##+##+## THen ###+###+###+### up too ############
then multiply the results by 8. like say 24 = 8, 23=7 22=6. I know its probly stupid easy but im still learning. and show the different multi's for eash group. i dunno if that explain enough but if you could make me a something too which you may think im needing that would greatful :)
Jesse.
I need to input a number of no more then 10 or 11 digits. say 01234567890
then need too add them #+#+#+#+#+#+#+#+#+# Then ##+##+##+##+##+## THen ###+###+###+### up too ############
then multiply the results by 8. like say 24 = 8, 23=7 22=6. I know its probly stupid easy but im still learning. and show the different multi's for eash group. i dunno if that explain enough but if you could make me a something too which you may think im needing that would greatful :)
Jesse.
Yoriz write Jan-11-2023, 08:48 PM:
Moved to homework:
Moved to homework:
https://python-forum.io/misc.php?action=help&hid=52 Wrote:Homework and No Effort Questions
This forum is focused on education. It exists to help people learn Python. We don’t exist to solve others' problems.