Seu SlideShare está sendo baixado. ×

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Carregando em…3
×

1 de 15 Anúncio

# 1. KANISHK PRIJECT FILE.docx

kaishkkumawat
#sj06 gaming

kaishkkumawat
#sj06 gaming

Anúncio
Anúncio

Anúncio

### 1. KANISHK PRIJECT FILE.docx

1. 1. KENDRIYA VIDHALAYA JHUNJHUNU INFORMATIC PRACTISE PROJECT FILE CALCULATING SOFTWARE NAME= KANISHK KUMAWAT CLASS=12TH COMMERECE ROLL.NO=12213 SUBMITTED TO=MR.LOKESH SAINI
2. 2. SUBMITTED BY=KANISHK KUMAWAT certificate
3. 3. THIS is to certify that kanishk, student of class 12th commerce has successfully completed the research on the project “calculating software” under the guidance of mr.lokesh saini (pgt,cs) during the session 2022-23.
4. 4. from time import sleep print('================================================================================') print('') print(' Calculator v1.0 (Python 3.6.2)') print('') print('================================================================================') print(' Created By ') print(' ------------------------------') print(' [ Mr. Kanishk Kumawat ] ') print(' [ Mr.Bhunesh Talior ] ') print(' [ Mr.Vivek Shukla ] ') print(' ------------------------------')
5. 5. print('================================================================================') print(' Hello! Are you here for calculating?') print('--------------------------------------------------------------------------------') ans = input('Select From( yes/no ) = ') if ans == 'yes': print('--------------------------------------------------------------------------------') print(' OK! LOADING...') print('--------------------------------------------------------------------------------') sleep(1) elif ans == 'no': print('--------------------------------------------------------------------------------') print(' Oh, youre not going ahead... OK.') print('--------------------------------------------------------------------------------') quit() num1 = int(input('Input 1st number : ')) method = int(input('Press 1 for +,2 for -,3 for *,4 for /: '))
6. 6. num2 = int(input('Input 2nd number : ')) a = num1+num2 b = num1-num2 c = num1*num2 d = num1/num2 if method==1: print("If Added, The Answer will be: ") print(a) if method==2: print("If Subtracted, The Answer will be: ") print(b) if method==3: print("If multiplied, The Answer will be: ") print(c) if method==4: print("If divided, The Answer will be: ") print(d)
7. 7. else: print("Check your input!") if input("Do you want to repeat (yes/no): ") =='no': print('------------------------------Have A Good Day-----------------------------------') print('------------------------------Visit Back soon-----------------------------------') exit() else: while True: from time import sleep print('================================================================================') print(' Calculator v1.0 (Python 3.6.2)') print('================================================================================') print(' Hello! Are you here for calculating?')
8. 8. print('================================================================================') ans = input('Select From( yes/no ) = ') if ans == 'yes': print('OK! LOADING...') sleep(3) elif ans == 'no': print('Oh, youre not going ahead... OK.') exit() num1 = int(input('Input 1st number : ')) method = int(input('Press 1 for +,2 for -,3 for *,4 for /: ')) num2 = int(input('Input 2nd number : ')) a = num1+num2 b = num1-num2 c = num1*num2 d = num1/num2 if method==1:
9. 9. print("If added, the answer will be: ") print(a) if method==2: print("If subtracted, the answer will be: ") print(b) if method==3: print("If multiplied, the answer will be: ") print(c) if method==4: print("If divided, the answer will be: ") print(d) else: print("Check your input!") if input("Do you want to repeat (yes/no): ") =='no': exit() 11:09 AM 11/3/2022