The line above is Markdown separator
- This
- Is
| # 9-24-2018 by Chiara Hsieh | |
| # Draw a Christmas tree with this code snippet | |
| import sys | |
| def tree_chunk(width, bottom, top): | |
| for i in range(bottom, top, 2): | |
| spaces=(width-i)/2 | |
| for j in range(spaces): | |
| sys.stdout.write (' ') |
| ImageView myImg = (ImageView) convertView.findViewById(R.id.myimage); | |
| myImg.setImageResource(android.R.drawable.rate_star_big_on); |