File tree Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ init :
2+ pip install -r requirements.txt
3+
4+ test :
5+ python tests
Original file line number Diff line number Diff line change 1+ home = /usr/local/bin
2+ include-system-site-packages = false
3+ version = 3.7.7
Original file line number Diff line number Diff line change 1+ astroid == 2.4.2
2+ isort == 4.3.21
3+ lazy-object-proxy == 1.4.3
4+ mccabe == 0.6.1
5+ pylint == 2.5.3
6+ six == 1.15.0
7+ tap.py == 3.0
8+ toml == 0.10.1
9+ typed-ast == 1.4.1
10+ wrapt == 1.12.1
Original file line number Diff line number Diff line change 1+ # Solution
2+ def add (* args ):
3+ '''Add 1 or more numbers together'''
4+ sum = 0
5+ for arg in args :
6+ sum += arg
7+ return sum
8+
9+ def main ():
10+ print ('hello' )
11+ print (str (add (1 )))
12+ print (str (add (1 , 2 )))
13+ print (str (add (1 , 2 , 3 )))
14+
15+ if __name__ == '__main__' :
16+ main ()
You can’t perform that action at this time.
0 commit comments