Skip to content
Snippets Groups Projects
Commit 02f53cd7 authored by Pravesh's avatar Pravesh
Browse files

Periodical Lab 2

parent 6f412d84
No related branches found
No related tags found
No related merge requests found
f=open("fb_results.txt","rt")
d={}
points=0
for i in f.read().split():
k=split(";",2)
s=k[2]
if(s=='draw'):
points=points+1
elif(s=='win'):
points=points+3
else:
points=points+0
print(d)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment