Introduction to Python's Syntax

IF 1.3
Kinsey Church, Thadde Rolon-Merette, Matt Ross, Damien Rolon-Mérette
{"title":"Introduction to Python's Syntax","authors":"Kinsey Church, Thadde Rolon-Merette, Matt Ross, Damien Rolon-Mérette","doi":"10.20982/TQMP.17.1.S001","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":93055,"journal":{"name":"The quantitative methods for psychology","volume":" ","pages":""},"PeriodicalIF":1.3000,"publicationDate":"2021-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The quantitative methods for psychology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.20982/TQMP.17.1.S001","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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.
Python语法简介
本教程是本系列的第二篇,介绍了Python中的基本语法以及与心理学相关的示例。其目的是向编程初学者和专家传授所需的基本知识,以使学习曲线变得平滑,并成功地将Python与他们的研究相结合。它首先介绍了基本的内置函数和变量创建。接下来,将详细介绍您将遇到的不同数据类型和数据结构,然后是注释和最佳注释实践。最后,缩进、逻辑、条件语句和循环都用简单的示例进行了说明。本教程以一个综合性的例子结束,这个例子是同一项不同于认知的任务,它将所学的一切联系在一起。有了这个基础,读者将有信心开始自己练习Python,并想办法将其融入自己的研究和日常生活中。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信