Skip to content

Commit 3e283c8

Browse files
authored
Add files via upload
1 parent a57574a commit 3e283c8

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import periodictable
2+
3+
# Prompt the user to input the atomic number
4+
Atomic_Number = int(input('Enter the atomic number of the element: '))
5+
6+
# Use the `periodictable` module to get the element by its atomic number
7+
element = periodictable.elements[Atomic_Number - 1] # Indexing starts at 0, so subtract 1
8+
9+
# Display the element's information
10+
print("Name:", element.name)
11+
print('----------------------')
12+
print("Symbol:", element.symbol)
13+
print('----------------------')
14+
print("Atomic mass:", element.mass)
15+
print('----------------------')
16+
print("Atomic density:", element.density)
17+
print('----------------------')
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import geopandas as gpd
2+
import matplotlib.pyplot as plt
3+
4+
world = gpd.read_file('Python_Begginer_Projects/Amazing/ne_110m_admin_0_countries.shp')
5+
6+
world.plot(edgecolor='red')
7+
plt.title('World Map with Country Borders')
8+
plt.show()
Binary file not shown.

0 commit comments

Comments
 (0)