function PrintColours(): colours = { "Red", "Green", "Blue", "Grey" } foreach colour in colours: print(colour) Which of
Posted: Mon May 09, 2022 7:01 am
EXPLAIN THE LOGIC BEHIND IT PROPERLY. NOT JUST THE ANSWER OR
DOWNVOTE !!!!!!!!!!!!
function PrintColours(): colours = { "Red", "Green", "Blue", "Grey" } foreach colour in colours: print(colour) Which of the below answers describes the time complexity of the above code most accurately? Pick ONE option O(1) O(logn) O(n) o Oin²
DOWNVOTE !!!!!!!!!!!!
function PrintColours(): colours = { "Red", "Green", "Blue", "Grey" } foreach colour in colours: print(colour) Which of the below answers describes the time complexity of the above code most accurately? Pick ONE option O(1) O(logn) O(n) o Oin²