Flowchart Logic 054

 Coding Problem Keys 

 Flowchart Logic 054 

 Problem Statement 

Please fill in the lines of code to implement the logic present in the flowchart.

 Note: Max Execution Time Limit: 50 millisecs 

 Solution 

 Programming Language: Python 3 Language 

m,n=map(int,input().split())
while(m<n):
    print(m,end=" ")
    if n%10!=0 and n%2!=0:
        m+=(n%10)
    else:
        m+=1
    n-=1

# Published By PKJCODERS

 (Note: Incase If the code doesn't Pass the output kindly comment us with your feedback to help us improvise.) 

Comments

Popular Posts

Maximum Goods Transported

Desktop Products

Matrix Print Excluding Border Elements

Find Maxima/Minima

Words Starting with Upper Case

Occurrences of Sub in Parent

Reversed Sum of Pairs