• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

What's the DRY and WET principles
drypythonwet
6 Votes
11 Answers
23rd Dec 2019, 1:07 PM
Pattern
Pattern - avatar
What is the result of this code? nums = (55, 44, 33, 22) print(max(min(nums[:2]), abs(-42)))
pgpythonwet
-1 Vote
7 Answers
19th Nov 2018, 7:26 AM
Priyanshu Ghatiya
Priyanshu Ghatiya - avatar
I Enjoy Repeating My Self... [help condense code]
codedrypythonreusewet
1 Vote
2 Answers
12th Jan 2020, 4:18 PM
Joshua Morgan
Joshua Morgan - avatar
Python: Simple calculator (WET to DRY)
codedrypythonwet
0 Votes
1 Answer
11th Aug 2017, 2:16 PM
Joshua Ng
Joshua Ng - avatar
How to assign multiple inputs to variables? (DRY solution please)
assigndryforinputloopmultiplepythonvariablevariableswet
7 Votes
6 Answers
22nd Aug 2018, 6:36 PM
Roger Wang
Roger Wang - avatar
guys this code I wrote passed all the unittest specifications in an oop lab. but they told me that I failed a hidden test. that my code can still be improved upon. I've tried my best but I don't know how to improve the code again. please give me ideas. am I using WET in any block. any unnecessary repetitions or redundancy? this is the code below: http://www.sololearn.com/app/python/playground/cG5UEvIEkuHd/
objectorientedpython
0 Votes
4 Answers
8th Sep 2016, 12:14 PM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
Hot today
HTML
1 Votes
I want an advice
1 Votes
Can you build webs with java?
1 Votes
Videos
0 Votes
Comments help
1 Votes
Why are only two test cases unlocked?
0 Votes
About sololearn
0 Votes
How to make games
1 Votes
Where to put my Machine Learning knowledge on practice?
1 Votes