Skip to content

Commit 631a507

Browse files
authored
Update and rename philalandCoin_qn3.py to Solution_Tcs_CodeVita_PhilalandCoin.py
1 parent 11fee8a commit 631a507

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

philalandCoin_qn3.py renamed to Solution_Tcs_CodeVita_PhilalandCoin.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ def myFunc(N):
1313
coin_list.append(1)
1414
return len(coin_list)
1515

16-
test = int(input("No of test:"))
16+
test = int(input())
1717
ans_list = []
1818
flag = 0
1919
if test>=1 and test<=100:
2020
for i in range(1,test+1):
21-
print("Enter Value of N")
21+
2222
N = int(input())
2323
if N>=1 and N<=5000:
2424
value = myFunc(N)
2525
ans_list.append(value)
2626
else:
2727
flag = 1
28-
print("ERROR")
28+
2929
break
3030
else:
3131
flag = 1
32-
print("ERROR")
32+
3333

3434
if flag == 0:
35-
print("OUTPUT...")
35+
3636
for val in ans_list:
37-
print(val)
37+
print(val)

0 commit comments

Comments
 (0)