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