Computer Science, asked by saxenaomrai04, 7 months ago

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 nischalproduction
0

Here you Go

-------------------------

num = 37

if num > 100:

   print('greater')

else:

   print('not greater')

print('done'

Similar questions