You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,13 @@ print('Hello there {}, {}'.format(name1, name2))# Hello there Andrei and Sunny
111
111
print('Hello there %s and %s'%(name1, name2)) # Hello there Andrei and Sunny --> you can also use %d, %f, %r for integers, floats, string representations of objects respectively
112
112
```
113
113
114
+
```python
115
+
#Pallindrome check
116
+
word ='reviver'
117
+
p =bool(word.find(word[::-1]) +1)
118
+
print(p) #True
119
+
```
120
+
114
121
Boolean
115
122
----
116
123
**True or False. Used in a lot of comparison and logical operations in Python**
0 commit comments