Skip to content

Commit 97a1a4b

Browse files
committed
Reduced redundancies
1 parent 19c406f commit 97a1a4b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • projects/Unstructured Supplemenrary Service Data

‎projects/Unstructured Supplemenrary Service Data/ussdtim.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def balance ( ):
7979
time.sleep(5)
8080
balance( )
8181
else:
82-
if pin.isdigit( )==True:
82+
if pin.isdigit( ):
8383
time.sleep(5)
8484
print("Loading...")
8585
exit( )
@@ -110,7 +110,7 @@ def transf( ):
110110
time.sleep(5)
111111
print("Not an option")
112112
sys.exit( )
113-
elif trnsf.isdigit( )==True and len(trnsf)>2:
113+
elif trnsf.isdigit( ) and len(trnsf)>2:
114114
time.sleep( 5)
115115
print("wrong password.")
116116
sys.exit( )

0 commit comments

Comments
 (0)