If duplicates is present then print ArrayList
if ( ifPresent ) : NEW_LINE INDENT print ( a1 , end = " ▁ " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " No ▁ duplicates ▁ present ▁ in ▁ arrays " ) NEW_LINE DEDENT