<jupyter_start><jupyter_text>Program to print all positive numbers in a range<jupyter_code># function to print positive numbers in a range
def print_positive_in_range(input_range):
    
    output = []
    
    # iterating over the range
    for number in input_range:
        
        # check if positive
        if number > 0:
            output.append(number)
            
    print(output)
list1 = [12, -7, 5, 64, -14]
list2 = [12, 14, -95, 3]

print("Input: ", list1)
print("Output: ", end="")
print_positive_in_range(list1)

print("\nInput: ", list2)
print("Output: ", end="")
print_positive_in_range(list2)<jupyter_output>Input:  [12, -7, 5, 64, -14]
Output: [12, 5, 64]

Input:  [12, 14, -95, 3]
Output: [12, 14, 3]
{'fraction_non_alphanumeric': 0.14107883817427386, 'fraction_numerical': 0.06500691562932227, 'mean_word_length': 3.137142857142857, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '413526', 'license': 'MIT', 'n_tokens_mistral': 298, 'n_tokens_neox': 264, 'n_words': 75, 'path': 'Positive in range.ipynb', 'repo_name': 'raj-laddha/myCapAI', 'size': '723'}