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 a9fab0f commit ee21d09Copy full SHA for ee21d09
str.py
@@ -0,0 +1,10 @@
1
+str="welcome"
2
+print(str[2])
3
+print(str[-1])
4
+print(str[2:])
5
+print(str[:4])
6
+print(str[-7:-1])
7
+str1="""hello this is tushar shukla from kanpur
8
+ ,uttar pradesh,
9
+ studying in lovely professional university"""
10
+print(str1)
unary.py
@@ -0,0 +1,3 @@
+x=2
+y=-x
+print(y)
0 commit comments