import os alfa bravo charlie delta echo for sufix in git checkout vlad

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
import os
a = ['alfa', 'bravo', 'charlie', 'delta', 'echo']
for sufix in a:
b = "git checkout vladyslav_lykhyi_{0}".format(sufix)
c = "echo {0} >> {0}.txt".format(sufix)
d = "echo && date >> current.txt"
r = "git add {0}.txt".format(sufix)
t = "git add current.txt"
p = "git commit -m 'My homework' "
e = "push origin vladyslav_lykhyi_{0}".format(sufix)
print(b,c,d,r,t,p,e)
# os.system(b)
# os.system(c)
# os.system(d)
# os.system(d)