Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: computer science pre release material may june 2018 IGCSE/O Level Python
Description: computer science pre release material may june 2018 IGCSE/O Level Python COde

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


COMPUTER SCIENCE PRE-RELEASE MATERIAL
MAY JUNE 2018 IGCSE/O LEVEL Python code

IGCSE /
O/A Level

# code is generated for n Cows
n=int(input("Enter No of Cows in Herds"))
Cowlist=n*[0]
cowids=n*[0]
cowid=1
for i in range(n):
day_yield=weekly_yield=avg_weekly_yield=count12=0
while True:
cowid=int(input("Enter the 3 Digit- Cow_ID: ="))
if((cowid>999 or cowid<100) or (cowid in cowids)):
cowid=int(input("Enter the 3 Digit- Cow_ID: ="))
else:
cowids[i]=[cowid]
Cowlist[i]=[cowid]
break;
for k in range(7):
print("Milk Yielding Day=",k+1)
print("Morning Shift Yield of cow with cowid=",cowid)
yield1=int(input())
print("Evening Shift Yield of cow with cowid=",cowid)
yield2=int(input())
day_yield=yield1+yield2
if day_yield<12:
count12+=1
Cowlist[i]+=[day_yield]
weekly_yield+=day_yield
Cowlist[i]+=[weekly_yield,count12]
avg_weekly_yield=round(weekly_yield/7,1)
Cowlist[i]+=[avg_weekly_yield]
print("Cowid\tDay1\tDay2\tDay3\tDay4\tDay5\tDay6\tDay7\tWeekly\tCount<12
for k in range(n):

Avg_Milk")

print('{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}'
...
com

vinsri76@yahoo
Title: computer science pre release material may june 2018 IGCSE/O Level Python
Description: computer science pre release material may june 2018 IGCSE/O Level Python COde