Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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)
Source by www.py4e.com #
 
PREVIOUS NEXT
Tagged: #python #java
ADD COMMENT
Topic
Name
5+8 =