HW2_python_basic
English translation
#Assignment 2 - Review Python basics 1
AI Applications second assignment
Technologies Used
- Google Colab
- Jupyter Notebook
- Markdown
- Python
Description
In this assignment, review basic Python syntax.
Setup/Installation Requirements
- Download the assignment attachment (notebook) from KLAS
- Upload the notebook to Google Drive
- Rename the notebook to studentID_name_Assignment_2.ipynb
- Solve the Problems in the notebook using Colab
- Download the notebook and submit it as an assignment on KLAS
Problem 1
- Run examples from the lecture material
- Rewrite the Python basic syntax examples from the lecture material as code blocks below and run them
Problem 2
- Try writing a program
- Complete the unfinished program below using the provided output
name =
age =
grade =
print('' % name)
print('' % age)
print('' % grade)
Output
What is your name? (keyboard input)Kim
How old are you? (keyboard input)20
What is your grade point average? (keyboard input)4.5
Your name is Kim
Your age is 20
Your grade is 4.5
License
Copyright (c) 2021 Ki-Baek Lee