Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 01df614

Browse files
Merge pull request #2 from BoRa-SY/main
Fixed and improved variable names
2 parents 86da937 + 06f3b51 commit 01df614

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

‎input.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ yuzde
2828

2929
islem
3030

31-
collect
32-
Extraction
33-
Impact
34-
Divide
35-
Percentage
31+
addition
32+
subtraction
33+
multiplication
34+
division
35+
percentage
3636

3737
process
3838

39-
number
40-
letter
39+
numbers
40+
letters

‎inputd.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939

4040
islem=input('Gerçekleştirmek İstediğiniz İşlemi Giriniz: ')
4141

42-
collect=float(number1)+float(number2)
43-
Extraction=float(number1)-float(number2)
44-
Impact=float(number1)*float(number2)
45-
Divide=float(number1)/float(number2)
46-
Percentage=float(number1)%float(number2)
42+
addition=float(number1)+float(number2)
43+
subtraction=float(number1)-float(number2)
44+
multiplication=float(number1)*float(number2)
45+
division=float(number1)/float(number2)
46+
percentage=float(number1)%float(number2)
4747

4848
process=input('Enter the action you want to perform: ')
4949

5050
# number,letter inputs (for random)
5151

52-
number=[0,1,2,3,4,5,6,7,8,9,10]
53-
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"
52+
numbers=[0,1,2,3,4,5,6,7,8,9,10]
53+
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"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /