Skip to content

Commit 00879d6

Browse files
committed
new test code added
1 parent e55c221 commit 00879d6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Population numbers (approximate, as of 2025)
2+
china_population = 1411750000
3+
japan_population = 124300000
4+
south_korea_population = 51780000
5+
thailand_population = 71700000
6+
indonesia_population = 279100000
7+
nepal_population = 30700000
8+
india_population = 1426250000
9+
10+
populations = [
11+
china_population,
12+
japan_population,
13+
south_korea_population,
14+
thailand_population,
15+
indonesia_population,
16+
nepal_population,
17+
india_population
18+
]
19+
20+
total_population = sum(populations)
21+
average_population = total_population / len(populations)
22+
23+
print("Total population:", total_population)
24+
print("Average population:", average_population)

0 commit comments

Comments
 (0)