MCQ Answers:
1. Only bring the bare essential to trip
2. the hand held device is Impressive
3. The principal called the student into his office
4. That sofa will be a nice complement to my living room furniture
5. It would be more humane to treat animals kindly
6. The doctor asked the patient to take a deep breathe
7. The doctor will counsel them tomorrow
8. Please keep this document in the envelope
9.The knot she tied was very loose
10. He has a flair for painting
11. His experience was helpful to advise the employees
12. Use the egg yolk to prepare the pie
13. Chocolate sundae is my favorite dessert
14. The athlete did not deserve the medal as he doped
15. A motivational speaker was invited to boost the morale of the students
16. The athlete was borne on the shoulders of the crowd after the game.
17. He was a role model
18. She bought the stationery items for office
19. The capital of India is Delhi
20. His employer paid him two weeks late
Program solution:
Atleast N Vowels ( Id-5638)
s=input().strip()
n=int(input())
v="aeiouAEIOU"
c=0
for i in range(len(s)):
if(s[i] in v):
c+=1
if(c==n):
print("Yes")
quit()
print("No")
ZigZag Pattern - Start with Base (Id-5639)
n,s=map(int,input().split())
l=[0 for i in range(n)]
f=1
for i in range(n):
if(i%2==0):
f=1
else:
f=-1
for j in range(n):
l[j]=s
s+=1
print(*l[::f])
0 Comments