TypeError: object of type 'int' has no len() error assistance needed
<p>I am writing a piece of code for my code that when the user inputs 7 digits it multiplies the digits by 3 and 1 respectively. Here is the code;</p>

<p><a href="https://i.stack.imgur.com/S0gYM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S0gYM.png" alt="enter image description here"></a></p>

<p>When it goes to check if the user has entered 7 digits it gives me this error:
TypeError: object of type 'int' has no len()</p>