<commit_before>#!/usr/bin/env python3

"""Generate and display list of fruits"""
fruits = ["Apples", "Pears", "Oranges", "Peaches"]
for fruit in fruits:
    print(fruit)

"""Prompt user for another fruit and add to list"""
new_fruit = input("Please tell me which fruit I should add to the list > ")
fruits.append(new_fruit)
for fruit in fruits:
    print(fruit)<commit_msg>New commit for list lab<commit_after>#!/usr/bin/env python3

"""Generate and display list of fruits"""
fruits = ["Apples", "Pears", "Oranges", "Peaches"]
for fruit in fruits:
    print(fruit)

"""Prompt user for another fruit and add to list"""
new_fruit = input("Please tell me which fruit I should add to the list > ")
fruits.append(new_fruit)
print("Your new list of fruits is:")
for fruit in fruits:
    print(fruit)

"""Prompt user for a number that corresponds to a fruit and return that number and fruit"""
new_number = int(input("Please give me a number from 1 to 5 > "))
while new_number > 5:
    new_number = int(input("Quit being difficult and give me a number between 1 and 5 > "))
else:
    print("Item: " + str(new_number) + " " + "is" + " " + fruits[new_number - 1])

"""Add another fruit to the beginning of the list"""
first_fruit = [input("Now give me another fruit to add to the beginning of the list > ")]
new_fruits_list = first_fruit + fruits
print("Your new list of fruits is:")
for fruit in new_fruits_list:
    print(fruit)
{'fraction_non_alphanumeric': 0.12174524982406756, 'fraction_numerical': 0.005629838142153413, 'mean_word_length': 4.511627906976744, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1360136', 'n_tokens_mistral': 461, 'n_tokens_neox': 438, 'n_words': 184}