Calculator in Python
Hello guys, I try to build a calculator which reads values typed in by the user. I have the idea, but not all the knowledge. anyone can help me? this is the code: print('GreatClaculatorMachineEver!') a = ('addition') s = ('subtraction') m = ('multiplication') print('Befor we start my name is Albert Einstein program.' '\nWould you like to use addition(a), subtraction(s) or multiplication(m)?') i = input('Introduce the leters a, s or m: ') if i==a: print('Well don, you chose', a) a_1=(input('Introduce your 1st number')) a_2=(input('Introduce your 2nd number')) a_3=(input('Introduce your 3rd number')) total_a=a_1+a_2+a_3 sub_total_a=total_a/3 print('\nYour sum total is', total_a'.') print('\nYour average sum is', sub_total_a'.') elif i==s: print('Well don, you chose', s) s_1=(input('Introduce your 1st number')) s_2=(input('Introduce your 2nd number')) s_3=(input('Introduce your 3rd number')) total_s=s_1-s_2-s_3 sub_total_s=total_s/3 print('\nYour subtraction total is', total_s'.') print('\nYour average sum is', sub_total_s'.') else i==m: print('Well don, you chose', m) m_1=(input('Introduce your 1st number')) m_2=(input('Introduce your 2nd number')) m_3=(input('Introduce your 3rd number')) total_m=m_1*m_2*m_3 sub_total_m=total_m/3 print('\nYour multiplication total is', total_m'.') print('\nYour average sum is', sub_total_m'.')