PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
##### Code made by Nevfy: 2018-05-20 #####
# Challenge: Expressions Matter
# Solution: Oneliner
'''
[ASSIGNMENT] Expressions Matter
TASK : Given three integers a, b, c, return the largest number obtained after inserting the following operators and brackets +, *, ( )
For Example:
1. expressionsMatter(1,2,3) --> return 9
2. expressionsMatter(9,1,1) --> return 18
NOTE :
- The numbers are always positive.
- The numbers are in the range (1 ≤ a, b, c ≤ 10).
- You can use the same operation more than once.
- It's not necessary to place all the signs and brackets.
- Repetition in numbers may occur.
- You cannot swap the operands.
'''
# REQUIRED INPUT STYLE:
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run