We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e96c4a2 commit 9d3e23cCopy full SHA for 9d3e23c
Images/8.PNG
1.89 KB
README.md
@@ -13,6 +13,7 @@
13
| 24 | [Code](practice24.py) | [Output Not Available]()
14
| 27 | [Code](practice27.py) | [Output](Images/27.png)
15
| 5 | [Code](practice5.py) | [Output](Images/practice5.py.jpg)
16
+| 8 | [Code](practice8.py) | [Output](Images/8.PNG)
17
------------------------------------------------------
18
## Requirements:
19
practice8.py
@@ -0,0 +1,5 @@
1
+#EXERCISE 8 - Sorting a string
2
+
3
+str= input("Enter any string to be sorted :")
4
+sorted_str="".join(sorted(str))
5
+print(sorted_str)
0 commit comments