-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinput_py.py
More file actions
36 lines (22 loc) · 721 Bytes
/
Copy pathinput_py.py
File metadata and controls
36 lines (22 loc) · 721 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
name = input('What is your name?\n')
print(name)
l = list(map(int, input("Enter the numbers: ").split()))
print(l)
inputs = input("Enter multiple values separated by space: ").split()
print(inputs)
n = int(input())
arr = [int(x) for x in input().split()]
summation = 0
for x in arr:
summation += x
print(summation)
name1 = 'Santosh'
age = 31
print("My name is", name1, "and age is" , age, "years old")
print("GeeksforGeeks \n is best for DSA Content.")
print ("GeeksForGeeks is the best platform for DSA content", end= "**")
print("Welcome to GFG")
print('GeeksforGeeks is a Wonderful ' + 'Website.')
x = input("Enter a value: ")
print(x)
# end and sep use in print