#!/usr/bin/env python2 # -*- coding: utf-8 -*- import sys def suma(liczby): s = 0 for i in range(len(liczby)): s += float(liczby[i]) return s def main(): print(suma([1, 2, 3, 4])) if __name__ == "__main__": main()