0
Hi guys. pliz 'need ur opinion about my code on the revenue growth project. It worked but i think it's not professional😅
age = int(input()) gain_up = 20 * len([i for i in list(data.values()) if i >= age]) gain_low = 5 * len([i for i in list(data.values()) if i < age]) total_gain = gain_up + gain_low print((int(((total_gain - 530)/ 530) * 100)))
2 Antworten
0
A shorter and cleaner code is always Good. So your code is professional
0
Ooh ok. Thanks