Computer Science, asked by lchowdary516, 1 month ago

*Program A Day (Paddy 7)*

Prof. Jantarmantar designed a wonderful Robo named Jadugar.

Jadugar accepts an alphabet from us and echos the same as many times as the position of the alphabet. Let us see how he echos:

Master! Please provide me with Alphabet in the capital letter: A

Jadugar's Response: A

Master! Please provide me with Alphabet in the capital letter: C

Jadugar's Response: CCC

Master! Please provide me with Alphabet in the capital letter: H

Jadugar's Response: HHHHHHHH

Hint:

Get ASCII value of the character using the function ord()
Find the position of the alphabet based on its ASCII value.
Alphabet ASCII Value Position
A 65 1
H 72 8

Answers

Answered by MukundaVISHAL
0

Answer:

9 lack

Explanation:

Similar questions