From 0f43292863e140a17c1911afe05f1b7f19158fd0 Mon Sep 17 00:00:00 2001 From: Brian Wiborg Date: Mon, 3 Apr 2023 13:53:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Small=20fixes.:wq=20gi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 28a5e50..4dd055f 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ poetry install ## Usage ```python -from voting.voting import Quorum, QuorumKind, Vote, Voting, Result +from voting import Quorum, QuorumKind, Vote, Voting, Result # initializing a new voting voting = Voting( @@ -31,8 +31,10 @@ voting.vote('alice', Vote.NO) voting.vote('alice', Vote.YES) # obtaining the result -res = Result(voting) -print(res.result()) +res = Result(voting).result() + +# printing the result +print(Result(voting)) ``` ## Command-line Interface