Skip to content

Commit a9fab0f

Browse files
Add files via upload
1 parent 93d5e69 commit a9fab0f

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

relation operators.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
a,b=4,2
2+
print(a>b)
3+
print(a<b)
4+
print(a>=b)
5+
print(a<=b)
6+
print(a!=b)
7+
print(a==b)
8+
x,y=5,5
9+
print(x>y)
10+
print(x<y)
11+
print(x>=y)
12+
print(x<=y)
13+
print(x!=y)
14+
print(x==y)

slicing.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# a="welcome"
2+
# print(a[1:4])
3+
#print(len("Harry"))
4+
i="Tusharisgood"
5+
print(i[:1:-1])

0 commit comments

Comments
 (0)