Education, Science, Technology, Innovation and Life
Open Access
Sign In

Practice of "Multiple Solutions to One Problem" in Python Programming Teaching

Download as PDF

DOI: 10.23977/aduhe.2025.070316 | Downloads: 11 | Views: 769

Author(s)

Weigang Guo 1

Affiliation(s)

1 School of Computer Science and Artificial Intelligence, Foshan University, Foshan, Guangdong, China

Corresponding Author

Weigang Guo

ABSTRACT

By Utilizing the flexibility and powerful function of Python language, this paper proposes to use different ideas and perspectives in the classroom and experiment to solve problems and write programs, so as to achieve the goal of "multiple solutions to one problem". This paper gives three examples, including calculating the sum of all integers from 1 to N, finding the Narcissistic number and sorting. Three years' teaching practice shows that the teaching method of "multiple solutions to one problem" in Python programming teaching has the advantages of cultivating divergent thinking, improving problem-solving ability, stimulating innovation potential, enhancing knowledge transfer ability, meeting the requirements of engineering thinking training, improving learning interest, and promoting cooperation and communication, which can cultivate students' computational thinking.

KEYWORDS

Python Language, Programming, Multiple Solutions to One Problem, Computational Thinking, Teaching Method

CITE THIS PAPER

Weigang Guo, Practice of "Multiple Solutions to One Problem" in Python Programming Teaching. Adult and Higher Education (2025) Vol. 7: 119-125. DOI: http://dx.doi.org/10.23977/aduhe.2025.070316.

REFERENCES

[1] Yu Yan. (2010) Applying Multiple Solutions to One Problem to Cultivate Students' Innovative Ability, Computer Education, 13, 17-19.
[2] Hu Ming. (2013) In C Language Teaching, One Problem With Multiple Solutions Is Used to Expand Students' Thinking of Problem Solving, Modern Computer (Professional Edition), 1, 27-29.
[3] Chen Cong. (2020) Case Teaching Method of C Language Programming Course, Fujian Computer, 3, 84-86.
[4] Chen Gang, Wang RiFeng, Li Hui, et al(2017) Teaching Reform and Practice of Computational Thinking Oriented Advanced Language Programming, Journal of Guangxi Normal University of Science and Technology, 4, 22-25.
[5] Zhang Jun. (2013) Multiple Solutions to One Problem in C Language, Computer Programming Skills and Maintenance, 18,135-137.
[6] Yin Xiaoling, Xia Qishou. (2008) Using "Multiple Solutions to One Problem" to Develop Students' Thinking in C Language Teaching, Computer Education, 18,95+92.

All published work is licensed under a Creative Commons Attribution 4.0 International License.

Copyright © 2016 - 2031 Clausius Scientific Press Inc. All Rights Reserved.