welcome to ycl
play

Welcome to YCL! We will meet [amount of time] hour(s) per week We - PowerPoint PPT Presentation

Welcome to YCL! We will meet [amount of time] hour(s) per week We will meet in [room] We will start at [time] every [day] We will attend a competition on Dec. 2 We will compete against 19 other teams! Introductions Name


  1. Welcome to YCL! ● We will meet [amount of time] hour(s) per week ● We will meet in [room] ● We will start at [time] every [day] ● We will attend a competition on Dec. 2 ● We will compete against 19 other teams!

  2. Introductions ● Name ● Grade ● Favorite Ice Cream

  3. Pick a Team Name This will be the team name, potentially for years to come...pick wisely!

  4. YCL Competition Theme MOVIES AND ADVENTURES

  5. Why Are We Here? To have fun! To learn Python! To build games! To learn how to code!

  6. What is Programming? Programming means to give a computer instructions. Usually, we put data in, and the computer processes it, and puts out a result.

  7. What is Python? Python is a language that we can use to give computers information. It is easy to learn and can be used to build games!

  8. Python 2 vs. Python 3 All you need to know is that they don’t work well together. Always make sure you are using Python 3.6.0 or later in PyCharm!

  9. Our Tools ● Python (Version 3.6.0 or later!) ● Arcade Library/Package ● PyCharm

  10. Hello World! 1. Open up PyCharm 2. Create YCL Project “YCL2017” 3. Create “Session 1” directory 4. Create new “hello.py” Python file 5. Type in print(“Hello World!”)

  11. hello.py print(“Hello World!”) print(“Anything else you want!”)

  12. drawing_sample.py ● Create a new file, “drawing_sample.py”, under the “Session 1” directory ● Go to student portal of course website ● Find drawing_sample.pdf under “Session 1” tab, copy- paste code into newly created PyCharm file ● Run it and see what happens!

  13. Commenting 101 Commenting helps other people understand our code, and helps us clarify what we want to do (intend) with our code. Practice it for yourself!

  14. commenting.py 1. """ 2. This is a sample program to show how to draw using the 3. Python Programming language and the Arcade library. 4. _ 5. Multi-line comments are surrounded by three of the double-quote marks. 6. Single-line comments start with a hash/pound sign. # 7. """ 8. # This is a single-line comment.

  15. Next Week We Will be “Drawing” with Arcade. Let’s sketch it out first! Use graph paper.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend