Hello!
I am trying to do the upper case. test says either indentation, then goes back to original question. I have checked as far as I can. Please tell me anything that will help.
Your code so far
def caesar(text, shift):
alphabet = 'abcdefghijklmnopqrstuvwxyz'
shifted_alphabet = alphabet[shift:] + alphabet[:shift]
# User Editable Region
str.maketrans.upper()+(alphabet.upper()+shifted_.upper()+alphabet.upper())
# User Editable Region
return text.translate(translation_table)
encrypted_text = caesar('freeCodeCamp', 3)
print(encrypted_text)
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0
okay. show me an example of how you would call a function with two arguments. and please explain in your own words what it is this step wants you to do.
this is not calling a function with two arguments. this is assigning the value of Y+1 to the variable x.
try again, please.
if you reset the step again, you will see an example of that right there.
i need to go offline for a while. please focus on how to call a function with two arguments and try to better understand what this step wants you to do by reading the instructions over again carefully.
I feel it may be helpful to re-read how to invoke a method and what an empty tuple is. Otherwise: I am not really helping you in the genuine sense that will make you grow as a person.
So, now what are your two arguments? What punctuation is used to separate arguments in a function call? What punctuation is used to apply upper()?
You have the right idea, but your syntax around the alphabet variable is messed up and you are not separating the two arguments correctly in your function call.