Skip to content

Commit 6f1ff40

Browse files
committed
initial commit
1 parent 4cfa0b5 commit 6f1ff40

9 files changed

Lines changed: 189 additions & 5 deletions

PyWhatKit_DB.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,13 @@ Time: 14:11
123123
Phone Number: +250782108391
124124
Message: How are you? Hope you are having an amazing afternoon! Africa's Business Heroes
125125
--------------------
126+
Date: 14/12/2023
127+
Time: 15:48
128+
Phone Number: +211921048310
129+
Message: How are you? Hope you are having an amazing afternoon! Africa's Business Heroes
130+
--------------------
131+
Date: 14/12/2023
132+
Time: 15:50
133+
Phone Number: +211921048310
134+
Message: How are you? Hope you are having an amazing afternoon! Africa's Business Heroes
135+
--------------------

__pycache__/car.cpython-39.pyc

19 Bytes
Binary file not shown.

coding_architecture.py

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
import turtle
2+
3+
# Create a turtle screen and turtle object
4+
screen = turtle.Screen()
5+
building = turtle.Turtle()
6+
building.speed(0)
7+
8+
# Function to draw a rectangle
9+
def draw_rectangle(turtle, width, height, color):
10+
turtle.fillcolor(color)
11+
turtle.begin_fill()
12+
for _ in range(2):
13+
turtle.forward(width)
14+
turtle.left(90)
15+
turtle.forward(height)
16+
turtle.left(90)
17+
turtle.end_fill()
18+
19+
# Function to draw a staircase
20+
def draw_stairs(turtle, x, y, stairs, width, height, color):
21+
for _ in range(stairs):
22+
draw_rectangle(turtle, width, height, color)
23+
turtle.penup()
24+
turtle.goto(x, y)
25+
x += width
26+
y += height
27+
turtle.pendown()
28+
29+
# Function to draw a car
30+
def draw_car(turtle, x, y):
31+
turtle.penup()
32+
turtle.goto(x, y)
33+
turtle.pendown()
34+
draw_rectangle(turtle, 70, 20, "blue")
35+
turtle.penup()
36+
turtle.goto(x + 10, y + 20)
37+
turtle.pendown()
38+
turtle.color("black")
39+
turtle.circle(10)
40+
turtle.penup()
41+
turtle.goto(x + 50, y + 20)
42+
turtle.pendown()
43+
turtle.color("black")
44+
turtle.circle(10)
45+
46+
# Draw the building (two floors)
47+
building.penup()
48+
building.goto(-100, -100)
49+
building.pendown()
50+
draw_rectangle(building, 200, 150, "gray")
51+
52+
building.penup()
53+
building.goto(-80, -100)
54+
building.pendown()
55+
draw_rectangle(building, 40, 100, "lightblue")
56+
57+
building.penup()
58+
building.goto(40, -100)
59+
building.pendown()
60+
draw_rectangle(building, 40, 100, "lightblue")
61+
62+
building.penup()
63+
building.goto(-60, -100)
64+
building.pendown()
65+
draw_rectangle(building, 20, 50, "gray")
66+
67+
building.penup()
68+
building.goto(-20, -100)
69+
building.pendown()
70+
draw_rectangle(building, 20, 50, "gray")
71+
72+
building.penup()
73+
building.goto(20, -100)
74+
building.pendown()
75+
draw_rectangle(building, 20, 50, "gray")
76+
77+
# Draw stairs
78+
building.penup()
79+
building.goto(-120, -100)
80+
building.pendown()
81+
draw_stairs(building, -120, -100, 3, 40, 50, "lightblue")
82+
83+
# Draw the front yard
84+
building.penup()
85+
building.goto(-150, -100)
86+
building.pendown()
87+
draw_rectangle(building, 50, 50, "green")
88+
89+
building.penup()
90+
building.goto(100, -100)
91+
building.pendown()
92+
draw_rectangle(building, 50, 50, "green")
93+
94+
# Draw pathway to parking
95+
building.penup()
96+
building.goto(-200, -150)
97+
building.pendown()
98+
draw_rectangle(building, 50, 200, "black")
99+
100+
building.penup()
101+
building.goto(150, -150)
102+
building.pendown()
103+
draw_rectangle(building, 50, 200, "black")
104+
105+
# Draw cars parked in front of the building
106+
draw_car(building, -140, -110)
107+
draw_car(building, -90, -110)
108+
draw_car(building, -40, -110)
109+
110+
building.hideturtle()
111+
turtle.done()

emailtrial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
email_sender = 'dushimezar2003@gmail.com'
77
email_password = password
88

9-
email_receiver = 'dushimezar2003@gmail.com'
9+
email_receiver = 'ntakijeredi1@gmail.com'
1010

1111
subject = 'Python Test Mail From Cesar Coder'
1212
body = '''

filter_function.py

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,54 @@
55
("Alice", 25), ("Bob", 30), ("Charlie", 16), ("David", 28), ("Emma", 14),
66
("Frank", 27), ("Grace", 18), ("Henry", 29), ("Ivy", 22), ("Jack", 33),
77
("Katie", 12), ("Liam", 32), ("Mia", 29), ("Noah", 17), ("Olivia", 30),
8+
("Parker", 19), ("Quinn", 28), ("Ryan", 26), ("Sophia", 34), ("Tyler", 15),
9+
("Uma", 21), ("Victor", 16), ("Wendy", 20), ("Xander", 13), ("Yara", 31),
10+
("Zach", 23), ("Amelia", 18), ("Benjamin", 25), ("Chloe", 16), ("Daniel", 27),
11+
("Ella", 14), ("Finn", 32), ("Gemma", 29), ("Harrison", 17), ("Isabella", 30),
12+
("Jacob", 19), ("Kayla", 28), ("Landon", 26), ("Mila", 34), ("Nathan", 15),
13+
("Oliver", 21), ("Peyton", 16), ("Quincy", 20), ("Riley", 13), ("Samantha", 31),
14+
("Theo", 23), ("Ursula", 18), ("Vincent", 25), ("Willa", 16), ("Xavier", 27),
15+
("Yasmine", 14), ("Zane", 32), ("Ava", 29), ("Blake", 17), ("Caleb", 30),
16+
("Daisy", 19), ("Ethan", 28), ("Freya", 26), ("George", 34), ("Hannah", 15),
17+
("Isla", 21), ("Jackson", 16), ("Kylie", 20), ("Lucas", 13), ("Molly", 31),
18+
("Nolan", 23), ("Olivia", 18), ("Preston", 25), ("Quinn", 16), ("Ruby", 27),
19+
("Seth", 14), ("Talia", 32), ("Ulysses", 29), ("Violet", 17), ("Wyatt", 30),
20+
("Xena", 19), ("Yuri", 28), ("Zara", 26), ("Adam", 34), ("Bella", 15),
21+
("Carter", 21), ("Diana", 16), ("Eli", 20), ("Fiona", 13), ("Gavin", 31),
22+
("Hazel", 23), ("Ian", 18), ("Jade", 25), ("Kian", 16), ("Luna", 27),
23+
("Katie", 12), ("Liam", 32), ("Mia", 29), ("Noah", 17), ("Olivia", 30),
24+
("Parker", 19), ("Quinn", 28), ("Ryan", 26), ("Sophia", 34), ("Tyler", 15),
25+
("Uma", 21), ("Victor", 16), ("Wendy", 20), ("Xander", 13), ("Yara", 31),
26+
("Zach", 23), ("Amelia", 18), ("Benjamin", 25), ("Chloe", 16), ("Daniel", 27),
27+
("Ella", 14), ("Finn", 32), ("Gemma", 29), ("Harrison", 17), ("Isabella", 30),
28+
("Jacob", 19), ("Kayla", 28), ("Landon", 26), ("Mila", 34), ("Nathan", 15),
29+
("Oliver", 21), ("Peyton", 16), ("Quincy", 20), ("Riley", 13), ("Samantha", 31),
30+
("Theo", 23), ("Ursula", 18), ("Vincent", 25), ("Willa", 16), ("Xavier", 27),
31+
("Yasmine", 14), ("Zane", 32), ("Ava", 29), ("Blake", 17), ("Caleb", 30),
32+
("Daisy", 19), ("Ethan", 28), ("Freya", 26), ("George", 34), ("Hannah", 15),
33+
("Isla", 21), ("Jackson", 16), ("Kylie", 20), ("Lucas", 13), ("Molly", 31),
34+
("Nolan", 23), ("Olivia", 18), ("Preston", 25), ("Quinn", 16), ("Ruby", 27),
35+
("Seth", 14), ("Talia", 32), ("Ulysses", 29), ("Violet", 17), ("Wyatt", 30),
36+
("Xena", 19), ("Yuri", 28), ("Zara", 26), ("Adam", 34), ("Bella", 15),
37+
("Carter", 21), ("Diana", 16), ("Eli", 20), ("Fiona", 13), ("Gavin", 31),
38+
("Hazel", 23), ("Ian", 18), ("Jade", 25), ("Kian", 16), ("Luna", 27),
39+
("Katie", 12), ("Liam", 32), ("Mia", 29), ("Noah", 17), ("Olivia", 30),
40+
("Parker", 19), ("Quinn", 28), ("Ryan", 26), ("Sophia", 34), ("Tyler", 15),
41+
("Uma", 21), ("Victor", 16), ("Wendy", 20), ("Xander", 13), ("Yara", 31),
42+
("Zach", 23), ("Amelia", 18), ("Benjamin", 25), ("Chloe", 16), ("Daniel", 27),
43+
("Ella", 14), ("Finn", 32), ("Gemma", 29), ("Harrison", 17), ("Isabella", 30),
44+
("Jacob", 19), ("Kayla", 28), ("Landon", 26), ("Mila", 34), ("Nathan", 15),
45+
("Oliver", 21), ("Peyton", 16), ("Quincy", 20), ("Riley", 13), ("Samantha", 31),
46+
("Theo", 23), ("Ursula", 18), ("Vincent", 25), ("Willa", 16), ("Xavier", 27),
47+
("Yasmine", 14), ("Zane", 32), ("Ava", 29), ("Blake", 17), ("Caleb", 30),
48+
("Daisy", 19), ("Ethan", 28), ("Freya", 26), ("George", 34), ("Hannah", 15),
49+
("Isla", 21), ("Jackson", 16), ("Kylie", 20), ("Lucas", 13), ("Molly", 31),
50+
("Nolan", 23), ("Olivia", 18), ("Preston", 25), ("Quinn", 16), ("Ruby", 27),
51+
("Seth", 14), ("Talia", 32), ("Ulysses", 29), ("Violet", 17), ("Wyatt", 30),
52+
("Xena", 19), ("Yuri", 28), ("Zara", 26), ("Adam", 34), ("Bella", 15),
53+
("Carter", 21), ("Diana", 16), ("Eli", 20), ("Fiona", 13), ("Gavin", 31),
54+
("Hazel", 23), ("Ian", 18), ("Jade", 25), ("Kian", 16), ("Luna", 27),
55+
("Katie", 12), ("Liam", 32), ("Mia", 29), ("Noah", 17), ("Olivia", 30),
856
("Parker", 19), ("Quinn", 28), ("Ryan", 26), ("Sophia", 34), ("Tyler", 15),
957
("Uma", 21), ("Victor", 16), ("Wendy", 20), ("Xander", 13), ("Yara", 31),
1058
("Zach", 23), ("Amelia", 18), ("Benjamin", 25), ("Chloe", 16), ("Daniel", 27),

learning).py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import turtle
2+
3+
animation = turtle.Turtle()
4+
animation.speed(0)
5+
animation.getscreen().bgcolor("black")
6+
animation.color("aqua")
7+
animation.hideturtle()
8+
for i in range(160):
9+
animation.circle(i)
10+
#animation.backward(6) # Use right() function to rotate the turtle
11+
#animation.forward(3)
12+
#animation.right(6)
13+
animation.right(6)
14+
15+
turtle.done()

sending_email_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
email_sender = 'dushimezar2003@gmail.com'
77
email_password = password
88

9-
email_receiver = 'damourmaniragaba1@gmail.com'
9+
email_receiver = 'dutphillip1@gmail.com'
1010

1111
subject = 'Python Test Mail'
1212
body = '''

snakegame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SNAKE_COLOR = "green"
99
FOOD_COLOR = "red"
1010
BODY_PARTS = 3
11-
SPEED = 200
11+
SPEED = 100
1212

1313
class Snake:
1414
def __init__(self):

whatsapp_automation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from tkinter import *
22
import pywhatkit
33

4-
pywhatkit.sendwhatmsg('+250782108391', "How are you? Hope you are having an amazing afternoon! \n"
5-
"Africa's Business Heroes", 14,12)
4+
pywhatkit.sendwhatmsg('+250781716845', "How are you? Hope you are having an amazing afternoon! \n"
5+
"It's Christmass", 16,20)

0 commit comments

Comments
 (0)