repl.it
@DARKLORD6474/

Computer Science

Python

No description

fork
loading
Files
  • main.py
main.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
29
30
31
32
33
34
35
36
37
38
39
40
print('Welcome to the Amazing Calculator by DarkLordCoding')
print('')
print('if my programme does not give u the right number, we shall contact you and give you a prize which is why we will need your contact details')

print('')
name= input('enter your name')
print('')
number= input('enter your phone number')

print('just to double check, your name is')
print('')
print(name)
print('')
print('and your number is')
print('')
print(number)
print('')
print('')
print('First, i will collect two numbers from you and multiply them.') 
print('')
print('Then i will collect a third number from you and add that on.')
print('')
print('This number will be called your alpha number.') 
print('')
print('After that, i shall take the average of the three numbers and get it subtracted from the Alpha number.') 
print('')
print('In the meantime, try and calculate it yourself and see if our results are the same ')
print('')
n01= int(input('enter your first number'))
n02= int(input('enter your second number'))
n03= int(input('enter your third number'))
print('')
print('alpha number =',n01*n02+n03)
print('')
print('total number =',(n01+n02+n03))
print('')
print('average number',(n01+n02+n03)/3)
print('')
print(' alpha number - average number')
print('=',(n01*n02+n03)-(n01+n02+n03)/3)
?