In recent days , Obama appeared before the U.N. General Assembly and the Group of 20 summit in Pittsburgh , during a week punctuated by a dramatic condemnation at the G-20 by Obama , British Prime Minister Gordon Brown , and French President Nicolas Sarkozy of Iran for secretly developing a second uranium enrichment facility .