bad-practises's People
Forkers
cyberdom123 devraux frups bezstresu luk9091 rdzio mr123qa piktorwa nomish00 how2troll mikolajborkowski dominikbudzynski mchrzanow baruselski lukasz-drzensla maciejzielinski407530 marcinb001 mateuszpiechnik 411568 chpiotr06 jakubtom12 jakubdomin michalmis patrykb0802 olaf39 patrykblonski lukaszs9819 ramkomak mikez7 wojtek0000 maciejkapica mateusztutaj berypl andrewf1604 porast1 wojomod daniel11000 domino0703 jakubkostecki igorzakrocki dawca99 jbulikk piotrletowski did-mas jkbkwcn tmroz21 zmija0 klimalap 4dr1anek yachu0 bieniu2 pkowol10 michalek007bad-practises's Issues
Wajdzik_Zamirski
class PiContainer:
def init(self, wartosci=None):
if wartosci is None:
wartosci = []
self.wartosci = wartosci
def ADD(self, zmienna):
if type(zmienna) == list:
self.wartosci += zmienna
else:
self.wartosci.append(zmienna)
def foo(x):
b = 0
c = 1
for i in range(x):
if i % 2 ==0:
b += 4/c
else:
b -= 4/c
c += 2
yield b
yield 'finished'
def print_pi(pi):
for x in pi.wartosci:
print(f'Next element: {x}')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.