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"

Questions about programming?Chat with your personal AI assistant