class Main(object):
main():
count =0
print("Enter credit transaction id: ")
Credit Id= int(input())
print("Enter debit transaction id: ")
Debit Id= int(input())
s =creditID+debitID
print(s)
i = 0
while i < len(s):
if s[i] != ' ':
count += 1
i += 1
print("Count= " + count)
main()
Comments
Leave a comment