CISC 504 Assignment 6.ipynb
CISC 504 Assignment 6.ipynb
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Assignment 6\n",
"# Please don’t forhet rename it with your name and assignment number\n",
"# Please submit 5 minutes recording with compressed format.\n",
"# Dont name the programs with file names\n",
"# dont use the Excercise Headings\n",
"# submit code and recodging of running program.\n",
"# Run the program and then save this file and submit this file."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 6.1 Please dont read src/files/xy.dat instead create your own f(x) = g(x)
explained during the class, g(x) can be any expnontial or parabolic function.
choose your own range of f(x) but more then 300 points from any range.\n",
"\n",
"# Save these points to file and read your own file as data."
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 6.2 you can take help of this excercise to understand more, however you need
to create dictionary of todays weather of any five cities of us, check weather from
any weather website and chose your cities. (save weather and city into file and
read that into dictionary)"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Write a program that read weather description, temp, pressure, humidity,
sunrise\n",
"\n",
"# the weather API you need to use is below\n",
"\n",
"# https://samples.openweathermap.org/data/2.5/weather?
zip=21043,us&appid=b6907d289e10d714a6e88b30761fae22\n",
"\n",
"# Note: change ZIP to your own location ZIP \n",
"# Save this JSON to file and read that file that will print above required
fields.\n",
"# you can take help from the yahoo weather calculator example that explained
during the session. this is also uploaded on the moodle."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"language": "python",
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.15"
}
},
"nbformat": 4,
"nbformat_minor": 2
}