hi need help to make this code work correctly
Please excuse me if its too simple problem to ask on this tread but i am beginner and very basic learner level of coder
So my need from this code is to get the exact alphabet from the number assigned to it
means if i press 3 than it should show me L
currently its not giving the errors but is is showing AA
Pls help
Here is the code
Please excuse me if its too simple problem to ask on this tread but i am beginner and very basic learner level of coder
So my need from this code is to get the exact alphabet from the number assigned to it
means if i press 3 than it should show me L
currently its not giving the errors but is is showing AA
Pls help
Here is the code
name = "ATUL" letter_0 = "A" letter_1 = "T" letter_2 = "U" letter_3 = "L" print("hello, " + name) a = input("enter the number to find the letter's position") print("your name is", "A", name[0]) b = input("enter the number to find the letter's position") print("your name is", "T", name[1]) c = input("enter the number to find the letter's position") print("your name is", "U" , name[2]) d = input("enter the number to find the letter's position") print("your name is", "L" , name[3])
buran write Nov-20-2023, 09:25 AM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.