Skip to content

Commit fae476b

Browse files
committed
Resolved the int-str datatype errror
1 parent 2c62374 commit fae476b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • projects/Unstructured Supplemenrary Service Data

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ def open_acct( ):
3434
s_name= input ("Enter your second name:")
3535
sex = input("Enter sex [M/F]:")
3636
BVN_checker( )
37-
temp_storage.append(f_name)
38-
temp_storage.append(s_name)
39-
temp_storage.append(sex)
40-
temp_storage.append(gen_bvn)
37+
temp_storage.extend(f_name)
38+
temp_storage.extend(s_name)
39+
temp_storage.extend(sex)
40+
temp_storage.extend(gen_bvn)
4141
details= " ".join(temp_storage)
4242
print(details)
4343
print("1. Press # to go back to options menu\n2. Press * to exit")
@@ -52,12 +52,12 @@ def open_acct( ):
5252
def upgrade_migrate( ):
5353
print("Welcome to our online Upgrade/Migration services.\n 1. Ugrade\n 2. Migrate")
5454
print("press # is go back to the Main Menu.")
55-
prompt = int(input("Enter preferred Choice:"))
56-
if prompt==1:
55+
prompt = input("Enter preferred Choice:"))
56+
if prompt=="1":
5757
time.sleep(5)
5858
print("Upgrading...")
5959
exit( )
60-
elif prompt == 2:
60+
elif prompt == "2":
6161
time.sleep(5)
6262
print("Migrating...")
6363
exit( )

0 commit comments

Comments
 (0)