diff --git a/f1.py b/f1.py new file mode 100644 index 0000000..0cb30fd --- /dev/null +++ b/f1.py @@ -0,0 +1 @@ +fork1 diff --git a/f2.py b/f2.py new file mode 100644 index 0000000..9de77c1 --- /dev/null +++ b/f2.py @@ -0,0 +1 @@ +f2 diff --git a/f3.py b/f3.py new file mode 100644 index 0000000..45d9e0e --- /dev/null +++ b/f3.py @@ -0,0 +1 @@ +f3 diff --git a/python1.py b/python1.py new file mode 100644 index 0000000..7a960a0 --- /dev/null +++ b/python1.py @@ -0,0 +1,8 @@ +#!/usr/bin/python +sum=0; +for i in range(1,36): + if i%5==0 and i%7!=0: + sum=int(sum)+int(i) +print(sum) + + diff --git a/python2.py b/python2.py new file mode 100644 index 0000000..b6f7eb5 --- /dev/null +++ b/python2.py @@ -0,0 +1,12 @@ +#!/usr/bin/python +ln=6 +wd=8 +ht=10 +area=int(ln)*int(wd) +volume=int(ln)*int(ht)*int(wd) +print("initial area is "+str(area)) +print("initial volume is "+str(volume)) +area1=float(int(ln)+float(15/100*ln))*float(int(wd)+float(15/100*wd)) +print("increased area is "+str(area1)) +volume2=float(int(ln)+float(15/100*ln))*float(int(wd)+float(15/100*wd))*float(int(ht)+float(15/100*ht)) +print("increased volume is "+str(volume2)) diff --git a/python3.py b/python3.py new file mode 100644 index 0000000..2496463 --- /dev/null +++ b/python3.py @@ -0,0 +1 @@ +createing files diff --git a/python4.py b/python4.py new file mode 100644 index 0000000..f7aaefc --- /dev/null +++ b/python4.py @@ -0,0 +1,3 @@ +hi +hello +how are you