Horje
concatenate the squares of numbers in python Code Example
concatenate the squares of numbers in python
def sq(num):
    words = list(str(num)) # split the text
    for word in words:  # for each word in the line:
        print(int(word)**2, end="") # print the word

num = 9119
sq(num)
concatenate the squares of numbers in python
return ''.join(str(int(i)**2) for i in str(num))




Python

Related
python serial readline Code Example python serial readline Code Example
doormat pattern Code Example doormat pattern Code Example
print A to Z in python uppercase Code Example print A to Z in python uppercase Code Example
df.loc Code Example df.loc Code Example
if user_answer==answer: ecpeted index erroe pythin fx Code Example if user_answer==answer: ecpeted index erroe pythin fx Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8