Can anyone give me a challenge? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Can anyone give me a challenge?

I am currently doing the lambda module of python. I was thinking of making more projects to put my learning to use. Can anyone think of any good challenges that are of my level? Thank you in advance for your help

30th Jul 2019, 11:52 AM
Zamraz Arif Khan
Zamraz Arif Khan - avatar
8 Answers
+ 6
I thought you were just wanting people to challenge you in a quiz. But for your question, we will wait for a Python star.
30th Jul 2019, 12:10 PM
Sonic
Sonic - avatar
+ 6
Start off with something easy! You could make a lambda function that calculates every odd number to the power 3 unless they're strictly superior to 1000. It's up to your imagination and creativity. Add complexity once you completed this task 😉
30th Jul 2019, 12:58 PM
Ventura 🐝🌵
Ventura 🐝🌵 - avatar
+ 2
You can try Pig Latin challenge, if you have some problems, you can watch my variant Ps: bonus is impossible to make
30th Jul 2019, 3:42 PM
TeaCoffeeCup
TeaCoffeeCup - avatar
+ 2
Tibor I agree
31st Jul 2019, 7:42 AM
TeaCoffeeCup
TeaCoffeeCup - avatar
+ 1
What is python
31st Jul 2019, 6:47 AM
Vidyasagar Bodapatla
Vidyasagar Bodapatla - avatar
+ 1
Botapalta, Python is a programming language
31st Jul 2019, 6:57 AM
TeaCoffeeCup
TeaCoffeeCup - avatar
+ 1
One good practice with lambda, is to use it with map() and filter() functions. For example try to list the square roots of all numbers in a given range (map) Try to list all numbers in a range that are divisible by 7 (filter) Take a sentence as a string, and list all words shorter than 5 characters When you are good with map and filter, also check what reduce() can do, for example you can use it to calculate factorial (1*2*...*n) http://book.pythontips.com/en/latest/map_filter.html
31st Jul 2019, 7:16 AM
Tibor Santa
Tibor Santa - avatar
+ 1
I think this one is a good choice to practice map and lambda, but you can probably find other assignments where it can be used: https://www.sololearn.com/learn/13844/?ref=app
31st Jul 2019, 7:22 AM
Tibor Santa
Tibor Santa - avatar