Database: world_1
Question: What is the average life expectancy in African countries that are republics?
SQL: select avg(lifeexpectancy) from country where continent  =  "africa" and governmentform  =  "republic"