From 06f3b510d6a7c36814447b8fbc05d77fa54577e1 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 7 Sep 2023 18:51:04 +0300 Subject: [PATCH] Fixed and improved variable names * Replaced incorrect variable names with the correct ones * Modified array names for clarity --- input.txt | 14 +++++++------- inputd.py | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/input.txt b/input.txt index f1a605c..e5ead37 100644 --- a/input.txt +++ b/input.txt @@ -28,13 +28,13 @@ yuzde islem -collect -Extraction -Impact -Divide -Percentage +addition +subtraction +multiplication +division +percentage process -number -letter +numbers +letters diff --git a/inputd.py b/inputd.py index 574a3da..10a7b33 100644 --- a/inputd.py +++ b/inputd.py @@ -39,15 +39,15 @@ islem=input('Gerçekleştirmek İstediğiniz İşlemi Giriniz: ') -collect=float(number1)+float(number2) -Extraction=float(number1)-float(number2) -Impact=float(number1)*float(number2) -Divide=float(number1)/float(number2) -Percentage=float(number1)%float(number2) +addition=float(number1)+float(number2) +subtraction=float(number1)-float(number2) +multiplication=float(number1)*float(number2) +division=float(number1)/float(number2) +percentage=float(number1)%float(number2) process=input('Enter the action you want to perform: ') # number,letter inputs (for random) -number=[0,1,2,3,4,5,6,7,8,9,10] -letter="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z" \ No newline at end of file +numbers=[0,1,2,3,4,5,6,7,8,9,10] +letters="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z" \ No newline at end of file