<jupyter_start><jupyter_text>Write a Python program to print "Hello Python"?Write a Python program to do arithmetical operations addition and division.?Write a Python program to find the area of a triangle?Write a Python program to swap two variables?Write a Python program to generate a random number?<jupyter_code>#1.Write a Python program to print "Hello Python"?

print("Hello World")
#2.Write a Python program to do arithmetical operations addition and division.?

a = 10
b = 12

print("sum : ",a+b)
print("division : ",a/b)
#3.Write a Python program to find the area of a triangle?


h = int(input("Enter the height of the triangle "))
b = int(input("Enter the base of the triangle "))


area = (h*b)/2


print("Area of the triangle is : " ,area)
#4. Write a Python program to swap two variables?


a = int(input("Enter the value of a "))
b = int(input("Enter the value of b "))

print("before swapping a : {} and b : {} ".format(a,b))

a,b = b,a

print("after swapping a : {} and b : {} ".format(a,b))

#4. Write a Python program to generate a random number?

import random

random.randint(0,304)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1147396293027361, 'fraction_numerical': 0.01235657546337158, 'mean_word_length': 4.53170731707317, 'pattern_counts': {'":': 0, '<': 5, '<?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': '244805', 'license': 'MIT', 'n_tokens_mistral': 368, 'n_tokens_neox': 353, 'n_words': 152, 'path': 'Programming_Assingment_1.ipynb', 'repo_name': 'Shanu2092/Python-Basic-Programming-Assignment', 'size': '1133'}