Summer training at Goeduhub Technologies-Jaipur
Register for Free Certified Workshop on RTU Python Lab (VI SEM):: 01-03-2020 ||  Career options for aspiring CS/ITECEEE or EIC or EEE Engineers
0 like 0 dislike
35 views
in Examples, Exercises and Projects by Summer Trainee (7k points)

1 Answer

0 like 0 dislike
by Summer Trainee (3.7k points)
selected by
 
Best answer

Ques. Write a Python program to find the list of words that are longer than n from a given list of words

Answer : 
Program : 
str=input("enter strings : ")
a=str.split(" ")
b=[]
n=int(input("enter value of n "))
for i in a:
    if (len(i)> n) :
        b.append(i)
print("list of words : ",b)

Output :  

enter strings : Goeduhub provide Summer, winter, regular training in Artificial Intelligence(AI), Machine Learning(ML), Deep Learning(DL), Python, Big Data Hadoop, Internet of Things(IoT), Cloud Computing, Salesforce, Embedded Systems & Robotics, Mobile Apps Development, Industial Automation(PLC-SCADA),AUTOCAD, MATLAB, Programming (PHP, Java, C, C++), Networks & Database.

enter value of n 7

list of words :  ['Goeduhub', 'training', 'Artificial', 'Intelligence(AI),', 'Learning(ML),', 'Learning(DL),', 'Internet', 'Things(IoT),', 'Computing,', 'Salesforce,', 'Embedded', 'Robotics,', 'Development,', 'Industial', 'Automation(PLC-SCADA),AUTOCAD,', 'Programming', 'Networks', 'Database.']

Related questions

 Go to your Branch CSE or IT | ECE | EE, EIC or EEEMECE
 Know About Popular Colleges/Universities  List of IITsList of NITs | RTU-KOTA | Manipal University-Jaipur | JECRC University | Amity University Jaipur | BIT Mesra-Jaipur | MODY UNIVERSITY | LNMIIT-Jaipur | JK Lakshmipat | Banasthali Vidyapith | POORNIMA University
 Exams:   List of Exams After Graduation | List of Engineering Entrance Examinations (UG/PG) | JEE Main | JEE Advanced | GATE | IES | ISROList of PSUs
Placements:  List of companies | Logical Reasoning Questions | Quantitative Aptitude Questions | General English Questions | Technical-MCQ and Interview Questions
 Download Previous Year Papers For:  GATE | IES | RAJASTHAN TECHNICAL UNIVERSITY (RTU-Kota)RPSC Technical Exams | ISRO
 Online Free Training:  Artificial Intelligence(AI) & Machine Learning(ML)Python Programming | Internet of Things-IoT | OpenCV (Open Source Computer Vision Library) | LINUX | Big Data : Hadoop | 
 Goeduhub
About Us | Contact Us   Social::   |  | 
...