Skip to content

Commit 97cde91

Browse files
committed
CodeChef Challenge | Excluding penish.py
1 parent 3d7dce8 commit 97cde91

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

CodeChef/BiryaniClasses.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
testCases = input()
2+
for i in range(int(testCases)):
3+
uInput = input().split(' ')
4+
print(int(uInput[0]) * int(uInput[1]))

penis.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
from turtle import *
2+
from turtle import forward
3+
4+
setup(400,100)
5+
board = Turtle()
6+
board.color("black")
7+
board.pensize(10)
8+
board.penup()
9+
board.setpos(20,-66)
10+
board.pendown()
11+
board.circle(80)
12+
setup(100,100)
13+
board.penup()
14+
board.setpos(180,-66)
15+
board.pendown()
16+
board.circle(80)
17+
board.penup()
18+
board.setpos(150,85)
19+
board.pendown()
20+
board.left(90)
21+
board.forward (300)
22+
board.circle(50,180)
23+
board.forward(300)
24+
board.penup()
25+
board.pencolor("black")
26+
board.setpos(100,427)
27+
board.pendown()
28+
board.forward(30)
29+
board.left(90)
30+
board.pencolor("black")
31+
board.pensize(8)
32+
board.forward (50)
33+
board.left (180)
34+
board.forward (100)

power.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ def lambdaPractice():
3535
dict_list = [{'make': 'Nokia', 'model': 216, 'color': 'Black'}, {'make': 'Mi Max', 'model': '2', 'color': 'Gold'}, {'make': 'Samsung', 'model': 7, 'color': 'Blue'}]
3636
sorted_dictList = sorted(dict_list, key=lambda a: int(a['model']))
3737
print(dict_list)
38+
39+
3840

3941
lambdaPractice()

0 commit comments

Comments
 (0)