10.a.
Write a program in Python to accept choice (1 or 2) from the user . Do the following operation
based on user's choice.
1. To input a sentence from the user and display the the words whose length is 4.
example:
INPUT
OUTPUT:
This is a test data
This
test
data
Answers
Answered by
0
Here you Go
-------------------------
num = 37
if num > 100:
print('greater')
else:
print('not greater')
print('done'
Similar questions
Science,
3 months ago
Physics,
3 months ago
Psychology,
3 months ago
Biology,
11 months ago
Science,
11 months ago