4. Random numbers¶
Activity: CodeLens 4.1 (cl_l20_4a_en)
A “codification” function is defined which returns the letters in a string shuffled.
Note: the
list()
function is used to convert a string into a list.
Activity: CodeLens 4.2 (cl_l20_4b_en)
Generate a list of 15 random integers between 10 and 100.
Activity: CodeLens 4.3 (cl_l20_4c_en)
Generate a list of 15 distinct random integers between 10 and 100.
Activity: CodeLens 4.4 (cl_l20_4d_en)
You have attempted of activities on this page