text = ‘Hello World’
shift = 3
alphabet = ‘abcdefghijklmnopqrstuvwxyz’
for char in text:
index = alphabet.find(char)
print(char),print(index)
i don’t get this step pls kindly help.
Happy Coding!
text = ‘Hello World’
shift = 3
alphabet = ‘abcdefghijklmnopqrstuvwxyz’
for char in text:
index = alphabet.find(char)
print(char),print(index)
i don’t get this step pls kindly help.
Happy Coding!
Hello,
Could you please elaborate more on your problem? or add the link of the challenge you are struggling with?
Hi, welcome to the forum
You’ve put two print statements instead of two arguments. Arguments go inside the brackets.
function(argument, argument)
This is the format to follow.
print(char)
print()
is the function and char
is an argument.
thanks for your help.
Happy Coding!