Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

python to java

n = 200
for i in range(1,n+1):
    a = [int(j) for j in str(i)]
    b = sum(a)
    if b == 9 and a == sorted(a) and len(a)==len(set(a)):
        print(i)
 
PREVIOUS NEXT
Tagged: #python #java
ADD COMMENT
Topic
Name
4+7 =