name = input("What is you name?")
fav_number = input("What is you favorite number?")
print(name + " your favorite number is " + fav_number + "!")
<span>The answer is Ten. Substituting numbers for letters, available selections are 111, 112, 113, 122, 123, 133, 222, 223, 233, 333. Note that, for example, 112, 121, and 211 are considered as the same selection.
</span>AAA, BBB, CCC, <span>AAB, AAC, </span><span>BBC, </span><span>ABB, ACC, </span><span>CCB & ABC.</span>
Answer:
a) 255
b) 61602
c)
d)
Explanation:
You need to understand the decimal equivalent of hexadecimal numbers, <em>from 0 to 9 numbers are represented the same way, from 10 to 15 we use the alphabet, meaning 10 equals A in hexadecimal base, 11-B, 12-C, 13-D, 14-E, and 15-F.</em>
For your first exercise you'll enumerate the number's positions fromright to lef begining with 0:
a. F F
position 1 0
Now you'll multiply your hexadecimal number (using the decimal equivalent for your letters) for the base (16) elevated to the number of the position:

Finally, you'll add your results:
240+15=255
FF=255
b. F 0 A 2
position 3 2 1 0

F0A2=61602
c. F 1 0 0
position 3 2 1 0

0F100=61696
d. 1 0 0
position 2 1 0

100=256
I hope you find this information useful! Good luck!
The answer is D, I believe.