Step 27 Currently, the print() function is taking a single argument char, but it can take multiple arguments, separated by a comma. Add a second argument to pr

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 :wave:

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.

1 Like

thanks for your help.
Happy Coding!

1 Like