+ 9
[🏆easy challenge 🏆] Blast a number 💥🏆🎮💡⚠
Create a code which inputs a number and processes it in the following way- Inverses the digit, i.e. 0 becomes 9, 9 becomes 0, 1 becomes 8, etc. Now, nos are converted to alphabets. 0 becomes A, 9 becomes J,etc. Now, blast it by adding the emoji. :p Eg- Input-> 9876 Output-> 💥A💥B💥C💥D💥 You can also see my own code- https://code.sololearn.com/W69NlQpJgWNn/?ref=app
7 Answers
+ 7
hers my one liner...
## try giving any string containing some digits....or try giving float value also....
https://code.sololearn.com/cIx5OpK8O4iW/?ref=app
+ 5
my another realization
https://code.sololearn.com/c2FioALsb8MX/?ref=app
+ 4
My attempts to resolve this:
Long Method: https://code.sololearn.com/cfv90BLlH1T2/#py
Short Method: https://code.sololearn.com/ceKsUEB8D8nU/#py
+ 3
https://code.sololearn.com/ctJM9u7Su9mM/#java
My Java Version - Maybe a bit complicated :D
+ 2
My solution - a bit long-winded but the first challenge I've done - feedback appreciated! :)
In Python3:
https://code.sololearn.com/ceEyRKBh6V7O/#py
+ 2
My C++ program
https://code.sololearn.com/ctPh30St0hlw/?ref=app
- 1
a whole new refreshing challenge##
try it
https://www.sololearn.com/discuss/817002/?ref=app