Movatterモバイル変換


[0]ホーム

URL:


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.

Commit06f3b51

Browse files
committed
Fixed and improved variable names
* Replaced incorrect variable names with the correct ones* Modified array names for clarity
1 parent86da937 commit06f3b51

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)

[8]ページ先頭

©2009-2025 Movatter.jp