We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11fee8a commit 631a507Copy full SHA for 631a507
philalandCoin_qn3.py renamed to Solution_Tcs_CodeVita_PhilalandCoin.py
@@ -13,25 +13,25 @@ def myFunc(N):
13
coin_list.append(1)
14
return len(coin_list)
15
16
-test = int(input("No of test:"))
+test = int(input())
17
ans_list = []
18
flag = 0
19
if test>=1 and test<=100:
20
for i in range(1,test+1):
21
- print("Enter Value of N")
+
22
N = int(input())
23
if N>=1 and N<=5000:
24
value = myFunc(N)
25
ans_list.append(value)
26
else:
27
flag = 1
28
- print("ERROR")
29
break
30
31
32
33
34
if flag == 0:
35
- print("OUTPUT...")
36
for val in ans_list:
37
- print(val)
+ print(val)
0 commit comments