Question: Please program like begginer! copypaste solutions from chat gpt are no welcome . Please solve all tasks. T Task 1 . Define a min _

Please program like begginer! copypaste solutions from chat gpt are no welcome. Please solve all tasks. T
Task 1. Define a min_length variable that will store an int. Using the corresponding higher order function and lambda expression, store in the variable long_words all words from the list of words that are longer than min_length :
```
rijeci =["jabuka", "pas", "knjiga", "zvijezda", "prijatelj", "zvuk", "Cokolada", "ples",
"pjesma", "otorinolaringolog"]
min_duljina = prompt("Unesite minimalnu duljinu rijei: ")
# min_duljina =7
duge_rijeci =...
# print(duge_rijeci) #['zvijezda', 'prijatelj', 'cokolada', 'otorinolaringolog']
```
Task 2. Koristei funkcije all i map, provjerite jesu li svi studenti punoljetni:
```
studenti = l
{"ime": "Ivan", "prezime": "Ivic", "godine"; 19},
{"ime": "Marko", "prezime": "Markovid", "godine"; 22},
{"ime", "Ana", "prealme", "Maid", "qodine"21},
{"ime"t "Petra", "preaime": "Perrid", "godine", 13),
{"ime": "Iwa", "prezime": "Ivic", "godine": 17},
f"ime": "Mate", "prezime": "Matie", "godine": 1
1
svi_punoljetni =...
prine(svi_punoljetni)% False
```
Task 3. Using the appropriate higher-order function and lambda expression (without comprehension), store in a variable transform the result of squaring all the numbers in the list where the result must be a dictionary where the keys are original numbers, and the values are the squares of those numbers:
```
brojevi =[10,5,12,15,20]
transform =...
print(transform) # {10: 100,5: 25,12: 144,15: 225,20: 400}
```
Task 4. Using the filter function, filter only numbers greater than 5 :
```
brojevi =[1,21,33,45,2,2,1,-32,9,10]
veci_od_5=...
print(veci_od_5) #[21,33,45,9,10]
```
Task 5. Using the map function, square the lengths of all the strings in the list:
```
nizovi =["jabuka", "kruska", "banana", "narana"]
kvadrirane_duljine =...
print(kvadrirane_duljine) # [36,36,36,49]
```
Please program like begginer! copypaste solutions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!