-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.py
More file actions
62 lines (61 loc) · 961 Bytes
/
input.py
File metadata and controls
62 lines (61 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#competative programing i/p methods
"""
1 2 3 #taking as a list
"""
"""
a = [int(i) for i in input().split()]
print(a)
"""
#now print sum of all in list
"""
a = [int(i) for i in input().split()]
sum=0
for i in a:
sum+=i
print(sum)
"""
"""
5
1 2 3 4 9
want to take i/p and no. of test cases in single variable.
"""
"""a=int(input())
b=[int(i) for i in input().split()]
print(b)
"""
"""
1 #print in a single line
2
3
9
"""
"""n=int(input())
for i in range (n):
b=int(input())
#new
2 #test cases
3 #no. of elements
1 2 3
4 #no of elements
1 2 3 4
#code
q=int(input())
for i in range(q):
n= int(input())
all = [int(i) for i in input().split()] """
"""
#matrix represent
3 #3x3 matrix similar for NxN matrix
1 2 3
4 8 6
9 8 7
n = int(input())
for i in range(n):
a = [int(i) for i in input().split()]
"""
"""
print list in one line
"""
a=[1,2,3,4]
for i in a:
print(i,end=" ")