Generation

generate functionThu, 04 May 2023

a function that compares two lists and outputs "GGGGG" if they have the same characters in each space

same_values list1 list2 = if list1 == list2 then "GGGGG" else "BBBBB"

Want to kickstart your project?Use the new AI Studio to create your code