diff --git a/My first python project.py b/My first python project.py new file mode 100644 index 0000000..1c289af --- /dev/null +++ b/My first python project.py @@ -0,0 +1,18 @@ +print("hello freinds i am first python program of Tanmay") +print("so first i will find avg of a number you give me") + +a = input("Enter first number : ") +b = input("Enter second number : ") +a = int(a) +b = int(b) +avg = (a + b)/2 +print("the average of your number is",avg) + +print("Now i will square the number you give me") + +a = input("Enter a number :") +a = int(a) +sq = a*a +print("The square of your number is",sq) + +print("Thanks for using me :)")