n,k=map(int,input().strip().split())
count=1
for i in range(1,n+1):
if(i%k==0):
count*=3
else:
count*=2
print(count)
n,k=map(int,input().strip().split())
count=1
for i in range(1,n+1):
if(i%k==0):
count*=3
else:
count*=2
print(count)
Hi friends....
In this blog I'm going to give answer for daily test skillrack program, daily challenges and kick start programs and give some coding techniques.
It'll be helpful for u sure and make it usefull
Learn More →
1 Comments
👍👍👍
ReplyDelete