Legion of Learners
www.lol-101.com
Home
Classrooms
Courses
About Us
Executive Team
Board Members
Resources
More
Use tab to navigate through the menu items.
Log In
Forum Comments
10/19 Homework: Recursion
In CS Fundamentals for ACSL
edward456jiang
Oct 24, 2020
It sounds hard
0
0
9/27 Homework: What does this program do?
In CS Fundamentals for ACSL
edward456jiang
Oct 04, 2020
z = 0 n = 1000 while n <= 2000: a = int(n / 1000) b = int((n - 1000 * a) / 100) c = int((n - 1000 * a) / 10) d = n - 1000 * a - 100 * b - 10 * c if (a == d) and (b == c) and (a != b): z+=1 n+=1 print(z)
0
0
e
edward456jiang
0
Followers
0
Following
Follow
Following icon
More actions
Profile
Forum Comments
Forum Posts
More
Use tab to navigate through the menu items.