what is the program to find out the smallest word in a sentence?
like if the sentence is : this is my room.
then out put will be : is
Answer / Kamini Jadon
The program to find the smallest word in a sentence can be written in any programming language. Here's an example in Python:
nn```python
sentence = 'this is my room'
words = sentence.split()
min_word = min(words, key=len)
print(min_word)
```
This program splits the sentence into a list of words and then finds the word with the smallest length.
| Is This Answer Correct ? | 0 Yes | 0 No |
Process-centered Methodologies , data-centered methodologies , object-oriented methodologies between differences
plz explain abt refrigeration r22 bitzer comprassors trouble shooting and maintenance
There are three bucket...Apple,Orange and Apple+Orange....On each Bucket one of the following labels are there..'A','O','A+O'...all this labels are not correctly patched on Bucket..identify which bucket contains What? You can not see bucket..u can pick any number of fruit from any basket...???
How to Shut-down the system through QTP Script?
how 2 write a program of this pattern usin for loop?? 1 2 3 4 5 6 7 8 9 10
what is the different between view and materialized view in oracle DBA?
Discuss about WAP architecture in detail.
what is routing protocals & routed protocals.
I am having 17 months experience in development.I want to take testing as my career.I dont have experience in testing. Will get job anywhere?
which is the proper pipe for salt water line
Explain what are db_options used for?
PLEASE SEND ME NIC SCIENTIFIC OFFICER-2009 EXAM PATTERN AND QUESTION PAPERS
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)