<jupyter_start><jupyter_text>Question 1 : Write a program to subtract two complex numbers in Python.<jupyter_code>print("Subtraction of two complex numbers : ",(4+3j)-(3-7j))<jupyter_output>Subtraction of two complex numbers :  (1+10j)<jupyter_text>Question 2 : Write a program to find the fourth root of a number.<jupyter_code>def fourth_root(x):
    return x**(1/4)
num = int(input("Enter a number to find the fourth root: "))
print(fourth_root(num))<jupyter_output>Enter a number to find the fourth root: 81
3.0<jupyter_text>Question 3: Write a program to swap two numbers in Python with the help of a temporary variable.<jupyter_code>x = 5
y = 10

temp = x
x = y
y = temp

print('The value of x after swapping: {}'.format(x))
print('The value of y after swapping: {}'.format(y))<jupyter_output>The value of x after swapping: 10
The value of y after swapping: 5<jupyter_text>Question 4: Write a program to swap two numbers in Python without using a temporary variable<jupyter_code>x = 5
y = 10

x, y = y, x
print("x =", x)
print("y =", y)<jupyter_output>x = 10
y = 5<jupyter_text>Question 5: Write a program to convert fahrenheit to kelvin and celsius both.<jupyter_code># Python program to convert temperature from 
# Fahrenheit to Kelvin 
F = int(input("Enter temperature in Fahrenheit: "))
Fahrenheit_to_Kelvin = 273.5 + ((F - 32.0) * (5.0/9.0)) 
print("Temperature in Kelvin = ", Fahrenheit_to_Kelvin,"K")
# Fahrenheit to Celsius
temp_F = int(input("Enter temperature in Fahrenheit: "))
Fahrenheit_to_Celsius = (5/9) * (temp_F - 32)
print("Temperature in Celsius = ", Fahrenheit_to_Celsius, "degree C")<jupyter_output>Enter temperature in Fahrenheit: 100
Temperature in Celsius =  37.77777777777778 degree C<jupyter_text>Question 6: Write a program to demonstrate all the available data types in Python. Hint: Use type() function.<jupyter_code>x = 5
print(x)
print(type(x))
x = "Hello World"
print(x)
print(type(x))
x = 20.5
print(x)
print(type(x))
x = 1j
print(x)
print(type(x)) 
x = ["apple", "banana", "cherry"]
print(x)
print(type(x)) 
x = ("apple", "banana", "cherry")
print(x)
print(type(x)) 
x = range(6)
print(x)
print(type(x)) 
x = {"name" : "John", "age" : 36}
print(x)
print(type(x)) 
x = {"apple", "banana", "cherry"}
print(x)
print(type(x)) 
x = frozenset({"apple", "banana", "cherry"})
print(x)
print(type(x)) 
x = True
print(x)
print(type(x)) 
x = b"Hello"
print(x)
print(type(x))
x = bytearray(5)
print(x)
print(type(x)) 
x = memoryview(bytes(5))
print(x)
print(type(x))<jupyter_output><memory at 0x000001ED9D139408>
<class 'memoryview'>
{'fraction_non_alphanumeric': 0.144921875, 'fraction_numerical': 0.034765625, 'mean_word_length': 5.669270833333333, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '143592', 'license': 'MIT', 'n_tokens_mistral': 1045, 'n_tokens_neox': 982, 'n_words': 289, 'path': 'DAY-3/DAY-3.ipynb', 'repo_name': 'BhuvaneshHingal/LetsUpgrade-AI-ML', 'size': '2560'}