QUIZ 3
COMP9021 PRINCIPLES OF PROGRAMMING
$ python quiz_3.py
Sample outputs
Enter the source (GCAG or GISTEMP): GISTEMP
Enter a year or a range of years in the form XXXX — XXXX: 1983–1958 Enter a month: January
The average anomaly for January in this range of years is: 0.07. The list of years when the temperature anomaly was above average is:
[1958, 1961, 1962, 1970, 1973, 1975, 1977, 1978, 1979, 1980, 1981, 1982, 1983]
$ python quiz_3.py
Enter the source (GCAG or GISTEMP): GCAG
Enter a year or a range of years in the form XXXX — XXXX: 1890 — 1901 Enter a month: December
The average anomaly for December in this range of years is: -0.16. The list of years when the temperature anomaly was above average is: [1891, 1895, 1896, 1898, 1900]
$ python quiz_3.py
Enter the source (GCAG or GISTEMP): GISTEMP
Enter a year or a range of years in the form XXXX — XXXX: 1983 — 1958 Enter a month: May
The average anomaly for May in this range of years is: 0.05.
The list of years when the temperature anomaly was above average is:
[1958, 1959, 1961, 1967, 1969, 1973, 1975, 1977, 1978, 1979, 1980, 1981, 1982, 1983]
$ python quiz_3.py
Enter the source (GCAG or GISTEMP): GCAG
Enter a year or a range of years in the form XXXX — XXXX: 1958–1983 Enter a month: May
The average anomaly for May in this range of years is: 0.07.
The list of years when the temperature anomaly was above average is: [1958, 1961, 1967, 1969, 1973, 1977, 1979, 1980, 1981, 1982, 1983]
$ python quiz_3.py
Enter the source (GCAG or GISTEMP): GISTEMP
Enter a year or a range of years in the form XXXX — XXXX: 2016 — 2016 Enter a month: June
The average anomaly for June in this range of years is: 0.76.
The list of years when the temperature anomaly was above average is: []
$ python quiz_3.py
Enter the source (GCAG or GISTEMP): GCAG
Enter a year or a range of years in the form XXXX — XXXX: 1945 Enter a month: September
The average anomaly for September in this range of years is: 0.26. The list of years when the temperature anomaly was above average is: []
Date: Session 2, 2018.
代写CS&Finance|建模|代码|系统|报告|考试
编程类:C代写,JAVA代写 ,数据库代写,WEB代写,Python代写,Matlab代写,GO语言,R代写
金融类:统计,计量,风险投资,金融工程,R语言,Python语言,Matlab,建立模型,数据分析,数据处理
服务类:Lab/Assignment/Project/Course/Qzui/Midterm/Final/Exam/Test帮助代写代考辅导
天才写手,代写CS,代写finance,代写statistics,考试助攻
E-mail:850190831@qq.com 微信:BadGeniuscs 工作时间:无休息工作日-早上8点到凌晨3点
如果您用的手机请先保存二维码到手机里面,识别图中二维码。如果用电脑,直接掏出手机果断扫描。