We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e55c221 commit 00879d6Copy full SHA for 00879d6
src/main/ipd-code-tagging-test-4.py
@@ -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