강의

멘토링

커뮤니티

Inflearn Community Q&A

xdrtfcx5002's profile image
xdrtfcx5002

asked

Coding Introduction Course for Non-Developers: Python Basics & Algorithms for Passing PCCE

[4-1. Various Forms of Control Statements] Nested Loops

4-1. 다양한 형태의 제어문-실습문제28. 질문

Written on

·

59

0

안녕하세요

강사님의 풀이는 이해가 됐는데요.

    for j in range(5-i):

이것의 결과값이 5, 4, 3, 2, 1 이면

# for j in range(5,0,-1)

이렇게 진행해도 동일한 결과값이 나옵니다.

그런데 run하면

*****

*****

*****

*****

*****

이렇게 나옵니다. 무슨 차이가 있을까요??

python코딩-테스트

Answer

This question is waiting for answers
Be the first to answer!
xdrtfcx5002's profile image
xdrtfcx5002

asked

Ask a question