for (length, freq) in word_list:
print(freq_temp.format(length, freq))
print("\n Len Freq Graph")
for (length, freq) in word_list:
graph_template = "{:>4}{:>5}% {}"
number_symbol = "=" * percentage_frequency(freq, new_list)
print(graph_template.format(length, percentage_frequency(freq, new_list),number_symbol))
How would you convert these for loops into while loops?