Skip to content

Commit 0c425f4

Browse files
Added My Solution to Question 40.
1 parent d1663bc commit 0c425f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Status/Day_11.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,15 @@ else:
142142
print("No")
143143
```
144144
----------------
145+
**My Solution: Python 3**
146+
```python
147+
input = input('Enter string:')
148+
149+
output = ''.join(['Yes' if input == 'yes' or input =='YES' or input =='Yes' or input =='YeS' else 'No' ])
150+
151+
print(str(output))
152+
```
153+
----------------
145154

146155
# Question 41
147156

0 commit comments

Comments
 (0)