Introduction to Python's Syntax

This tutorial is the second in our series and covers basic syntax in Python with examples related to psychology. The aim is to teach programming beginners and experts alike the fundamentals required in order to smooth the learning curve and succeed with integrating Python with their research. It sta...

全面介紹

書目詳細資料
Main Authors: Church, Kinsey, Rolon-Mérette, Thaddé, Ross, Matt, Rolon-Mérette, Damien
格式: Article
語言:English
出版: Université d'Ottawa 2021-03-01
叢編:Tutorials in Quantitative Methods for Psychology
主題:
在線閱讀:https://www.tqmp.org/SpecialIssues/vol17-1/S001/S001.pdf
實物特徵
總結:This tutorial is the second in our series and covers basic syntax in Python with examples related to psychology. The aim is to teach programming beginners and experts alike the fundamentals required in order to smooth the learning curve and succeed with integrating Python with their research. It starts by covering basic built-in functions and variable creation. Next, different data types and data structures that you will encounter are covered detail, followed by comments and best commenting practices. Finally, indentation, logic, conditional statements, and loops are all explained with simple, illustrative examples. The tutorial ends with a comprehensive example of the same-different task from cognition that ties together everything learned. With this foundation, the reader will gain the confidence to begin practicing Python on their own and think of ways to incorporate it into their own research and daily lives.
ISSN:1913-4126