+ 2
How to add doubble digits
I can't add the number 10 kinda need help https://code.sololearn.com/cz9Q49Eq4B9r/?ref=app https://code.sololearn.com/cz9Q49Eq4B9r/?ref=app
20 Antworten
+ 2
do your numbers have to be strings or can they be integers?
or maybe I should ask which numbers? the Roman numerals? or the input numbers?
+ 6
Damien Page Hey, it seems like you found a completely different approach, and I'm really glad you worked it out.
+ 5
The loop may present some difficulties in this situation. To ensure clarity and achieve your intended result, it could be worth considering the removal of the loop and the unnecessary conversion of numbers to uppercase. If this doesn't align with your intention, please let me know.
https://code.sololearn.com/ceQfqR6BskMl/?ref=app
+ 2
What do you mean by strings?
also the input numbers
+ 2
I'm not shure can you demonstrate?
+ 2
I tried to fix it the way you explained would you be able to correct it for me? If you do I will put full credits for you
+ 2
We're you able to fix it?
+ 2
I made changes to the original but they messed up a couple other lines that worked so I didn't save
+ 2
Damien Page
Ok, perhaps I'm not explaining it well, it's not always an easy thing to do for me.
I added some comments to help explain what I mean:
https://code.sololearn.com/cPVGau0kzSZB/?ref=app
+ 2
Damien Page there is an option of reading each number separately
Aaron Lee Chris Coder
https://code.sololearn.com/cz1Ml0OpYHQF/?ref=app
+ 2
Hey I have found out the solution and have fixed my prevent mistakes and after some verry hard thinking I have come up with this:
https://code.sololearn.com/cxoK8rxBCP90/?ref=app
+ 2
Thanks Chris Coder hope you have a wonderful day
+ 1
Sorry I misunderstood your question, ignore my first comment.
Look at line 2. (for/in)
It is splitting up your input digit by digit. Is there another way you can compare your input to things?
+ 1
Of course, have a look at this code
https://code.sololearn.com/cf8OVf9Mqjo3/?ref=app
+ 1
Damien Page
Sure! No need for full credit, I'm just happy to help
+ 1
Damien Page did you do another one? Or make changes to the original? I only see the original you posted
+ 1
give it a try again, and save it. then let me know. and i can look at it.
+ 1
I kept trying to fix the way you explained but nothing worked
https://code.sololearn.com/cXp94sq50H09/?ref=app
+ 1
Hey! Nice work Damien Page! Looks great!
0
BroFar yes but I was trying to avoid that and hoping I could get to at least 15