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
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# practice_section-B
This is a common repo to experiment commit, push, pull etc.

14 changes: 14 additions & 0 deletions code1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
class Solution:
def findDuplicates(self, arr):
d={}
for i in arr:
if i not in d:
d[i]=1
else:
d[i]+=1
l2=[]
for i,j in d.items():
if j>1:
l2.append(i)
return l2

11 changes: 11 additions & 0 deletions ok.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>for testing</title>
</head>
<body>

</body>
</html>
46 changes: 46 additions & 0 deletions style.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>
<body style = "background-color:black;">
<p style = "color:white;text-align:center;font-size:30px">
2048 game
</p>
<hr style ="width:800px">
<p style = "font-size:20px;font-style:italic;color:white;text-align:center">
Score: 0
</p>
<div style=" background-color:white;width:400px;height:420px;margin:auto;border:5px solid white;">
<div style = "background-color:white;width:400px;height:100px;border-bottom:5px solid grey;font-size:0px">
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
</div>
<div style = "background-color:white;width:400px;height:100px;border-bottom:5px solid grey;font-size:0px">
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
</div>
<div style = "background-color:white;width:400px;height:100px;border-bottom:5px solid grey;font-size:0px">
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>

</div>
<div style = "background-color:white;width:400px;height:100px;border-bottom:5px solid grey;font-size:0px">
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
<div style= "background-color: white;width:90px;height:90px;border: 5px solid grey;display:inline-block;"></div>
</div>


</div>

</body>
</html>