forked from pruthvi-techdevelopers/git-training-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathex1-forloop.py
30 lines (29 loc) · 1.04 KB
/
ex1-forloop.py
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
# Count to n and print each number
n = int(input("Enter the value of n: "))
def count_to_n(x = n):
for i in range(1, x + 1):
print(i, end=' ')
print()
print("Going to count to {} . . .".format(n))
count_to_n(n)
#------------------------------------------------------------------
print("first modification for 2nd commit")
#------------------------------------------------------------------
print("Added this line of code from techdevelopers from git terminal")
#--------------------------------------------
print("Added 1st line from techteam1 on GitHub")
#--------------------------------------------
print("Added 2nd line from techteam1 on GitHub")
#--------------------------------------------
print("Added this line from User-2 account")
x = 100
#--------------------------------------------
print("Added this line from User-2 account")
B = 700
C = 900
#--------------------------------------------
print("Added this line from the account of InjamulHoque")
y = 200
print("Added this line from the account of InjamulHoque")
K = 1000
L = 1100