Python 3.7: str() Built-in Function

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

What about when we use str() empty inside? We were generating random DNA and we had already say all the A = T and all of that. after we wrote

def gera_adn(n):
adn = str()
for i in range(n):
adn = adn + random.choice('ATCG')
return adn



so what does this do in this situation?

dianaayt