mystery_string = "ABCDE" #You may modify the lines of code above, but don't move them! #When you Submit your code, we'll change these lines to #assign different values to the variables. #In the example above, we saw using operators to add #characters to the end of a string, and using operators to #multiply a string. # #Add some code below that uses those operators to modify #mystery_string such that its value at the end of the #program is: ABCDE.ABCDE.ABCDE.??? Then, print the final #value of mystery_string. # #You should not create any new strings longer than one #character. We'll test your code with a couple other #variants on mystery_string, but in all cases the results #should be the same: the string repeated three times with #a period after each repetition and three question marks #at the end. #Add your code here! print(("ABCDE." * 3) + "???") #the above is what I put in. #below is the answer i am getting and am confused as to why my code is wrong. #[Executed at: Tue Feb 26 9:02:19 PST 2019] We found a few things wrong with your code. The first one is shown below, and the rest can be found in full_results.txt in the dropdown in the top left: We tested your code with mystery_string = "VWXYZ". We expected your code to print this: VWXYZ.VWXYZ.VWXYZ.??? However, it printed this: ABCDE.ABCDE.ABCDE.???My result was correct as far as I can see, but am getting queries regarding other "variables"
Don't understand whats wrong with it. Or don't understand the question in the first place. Please help.