Skip to main content
Hello All,

 

I am working on Apex Basics and Database module. While trying to complete first challange in it, I written below code (Screenshot 1) is for completing challange and getting error when I click on "Check Chllange" (Screenshot 2).

 

Screenshot 1: Apex Basics and Database Challange completion errorScreenshot 2: User-added image

 

Please help me with sugesstions for resolution of this error.
답변 5개
  1. 2020년 12월 15일 오후 9:47
    @Videen - it looks like you're not returning the correct number of strings. The challenge asks you to return a string list of length n. You start down this path with your testStr variable, and then you populate it in the for loop, but you never return it. Try returning testStr and see if you pass the challenge.
0/9000