Skip to content

Commit afb7984

Browse files
committedMar 29, 2023
MCU
Signed-off-by: Chandra Prakash S <[email protected]>
1 parent bbc4eca commit afb7984

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎Session-3/marvelstudios.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"""
2+
"""
3+
# Read the number of names
4+
n = int(input())
5+
6+
# Read the character names
7+
names = []
8+
for i in range(n):
9+
names.append(input())
10+
11+
# Sort the names in alphabetical order
12+
names.sort()
13+
14+
# Display the sorted names
15+
for name in names:
16+
print(name)

0 commit comments

Comments
 (0)