this is my code, I need to get the flagpattern twice but I am not sure how to do that, any ideas?
enter image description here