Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions f1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fork1
1 change: 1 addition & 0 deletions f2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f2
1 change: 1 addition & 0 deletions f3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f3
8 changes: 8 additions & 0 deletions python1.py
Original file line number Diff line number Diff line change
@@ -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)


12 changes: 12 additions & 0 deletions python2.py
Original file line number Diff line number Diff line change
@@ -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))
1 change: 1 addition & 0 deletions python3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
createing files
3 changes: 3 additions & 0 deletions python4.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
hi
hello
how are you