<jupyter_start><jupyter_text>1. Write a Shutting down Program:<jupyter_code>def shut_down(x):
    if "yes" == x:
        return"Shutting down"
    elif "no" == x:
        return"Shutdown aborted"
    else:
        return"Sorry,such argument not welcome here"
print(shut_down(input('Shut down? ;')))<jupyter_output>Shut down? ;yes
Shutting down<jupyter_text>2. Create a function showEmployee() in such a way that it should accept a given number of employee name and salary as input, stores the data in a dictionary, and then save it into a csv file, if any of the following condition is met.<jupyter_code><jupyter_output><empty_output><jupyter_text>Exercise 3<jupyter_code>def cube(number):
    print(number**3)

def bythree(number):
    if number%3 == 0:
        cube(number)
    else:
        print("False")
cube(int(input("Insert a number: ")))
bythree(int(input("Insert a number: ")))<jupyter_output>Insert a number: 3
27
Insert a number: 3
27<jupyter_text>Exercise 4<jupyter_code>a = 0
b = 0
def letter_type(x):
    for a in x:
        if x.islower():
            a=a+1
        elif x.isupper():
            b=b+1
            
print("The number of lowercase letters is :", a)
print("The number of uppercase letters is :", b)
letter_type(input())<jupyter_output>The number of lowercase letters is : 0
The number of uppercase letters is : 0
5
{'fraction_non_alphanumeric': 0.109375, 'fraction_numerical': 0.01488095238095238, 'mean_word_length': 3.7526501766784452, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '302977', 'license': 'MIT', 'n_tokens_mistral': 474, 'n_tokens_neox': 453, 'n_words': 146, 'path': 'FARUQ SODIA_FUNCTIONS.ipynb', 'repo_name': 'ruqqyrules/FaruqCSC102', 'size': '1344'}