Flowchart Logic 057
Coding Problem Keys
Flowchart Logic 057
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
x,y=map(int,input().split())
char_str="abcde"
ctr=1
while(ctr<=x):
index=0
while(index<y):
print(ctr,char_str[index%5],sep=".")
index+=1
ctr+=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