<jupyter_start><jupyter_text><jupyter_code>from math import sqrt, cos, pi, pow, tanh

number = 10
cosine = cos(number)
print (f"The cosine of {number} is {cosine}")
number = float(input("Write a number to square: "))
square = sqrt(number)
print (f"The square number of {number} is {square}")
r = float(input("Write the radio of the circle: "))
a = pi*pow(r,2)
print (f"The area of a circle with radio {r} is {a}")
x = float(input("Write X: "))
y = pow(x,2)+3*tanh(x)
print (f"Answer to y=({x})^2 + 3tanh({x}).\ny = {y}")
# Exercise Nr. 5: Imaginary numbers
x = 2 + 3.3j
print(x)
# Conjunto
x = {"1", "2"}
print(x)
# Lista
my_list = [1.0, True, "String"]
print(my_list [1])
# Tupla
my_tuple = (1, 2, 3)
my_tuple[0]
# Exercise Nr. 6
my_string = str(input("Write a string: ") + " ")
n = int(input("How many times? "))
print(my_string * n)
# Exercise Nr. 7
print("Hello world!",end=" "); print("How are you?")<jupyter_output>Hello world! How are you?
{'fraction_non_alphanumeric': 0.193446088794926, 'fraction_numerical': 0.023255813953488372, 'mean_word_length': 4.955974842767295, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '296145', 'license': 'Apache-2.0', 'n_tokens_mistral': 400, 'n_tokens_neox': 388, 'n_words': 118, 'path': 'Class_2021_05_06.ipynb', 'repo_name': 'CREACIONCO/MINTIC-Personal', 'size': '946'}