Skip to content

Commit 8d2cf58

Browse files
Add simple emojis output function
1 parent 8e6220d commit 8d2cf58

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

simple emojis output function

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
row1=['😍','🥰','😘']
2+
row2=['👿','👹','👺']
3+
row3=['😅','😂','🤣']
4+
5+
matrix=[row1,row2,row3]
6+
print(f"{row1}\n {row2}\n {row3}")
7+
position =input("enter position s that u want to Change")
8+
row_select=int(position[0])
9+
column_select=int(position[1])
10+
changed=matrix[row_select-1]
11+
changed[column_select-1]='X'
12+
print(f"{row1}\n {row2}\n {row3}")

0 commit comments

Comments
 (0)