{% for p in ports %} {% endfor %}
Port State Service
{{p.split(' ')[0]}} {{p.split(' ')[1]}} {{p.split(' ')[2]}}

{% for i in info %} {{i}}
{% endfor %}