I need help to understand this problem please. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

I need help to understand this problem please.

alpha = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"] #your code goes here num1 = int(input(3)) num2 = int(input(0)) num3 = int(input(1)) print(alpha[num1] + alpha[num2] + alpha[num3]) according the solution on sololearn, the output should give me letters of the alphabet corresponding to those numbers. But when I run the code in VScode, it outputs 3.

5th Jul 2023, 12:43 PM
Nadine Yimdju
1 Antwort
+ 4
Remove the numbers that you wrote in input() Write int(input()), NOT int(input(3)) Please put "Python" in the tag section, not just "lists". If you need help with the task, give the complete task description.
5th Jul 2023, 1:16 PM
Lisa
Lisa - avatar