[Python] ๋ฐฑ์ค€ 9316 - Hello judge
ยท
Algorithm
๋ฌธ์ œ ๋‹น์‹ ์€ N๊ฐœ์˜ ํ…Œ์ŠคํŠธ์ผ€์ด์Šค๋“ค์—๊ฒŒ ๋ฐ˜๋“œ์‹œ ์ธ์‚ฌ๋ฅผ ํ•ด์•ผ ์ด ๋ฌธ์ œ๋ฅผ ํ’€ ์ˆ˜ ์žˆ๋‹ค. N๊ฐœ์˜ ์ค„์— ๊ฑธ์ณ "Hello World, Judge i!" ๋ฅผ ์ถœ๋ ฅํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ๋งŒ๋“ค๋ผ. ์—ฌ๊ธฐ์„œ i๋Š” ์ค„์˜ ๋ฒˆํ˜ธ์ด๋‹ค. ์ž…๋ ฅ N์ด ์ฃผ์–ด์ง„๋‹ค. (1 ≤ N ≤ 200) ์ถœ๋ ฅ ํ•œ ์ค„์— ํ•˜๋‚˜์˜ Hello World, Judge i! ๋ฅผ ์ถœ๋ ฅํ•œ๋‹ค. ์ •๋‹ต n = int(input()) for i in range(n): print(f'Hello World, Judge {i+1}!') ์ฐธ๊ณ  ํฌ๋ฉง ๋ฌธ์ž์—ด ๋ฆฌํ„ฐ๋Ÿด ๋ฌธ์ž์—ด์— 'f' ๋˜๋Š” 'F' ์ ‘๋‘์–ด๋ฅผ ๋ถ™์ด๊ณ  ํ‘œํ˜„์‹์„ { }๋ฅผ ์ด์šฉํ•ด ์ž‘์„ฑํ•˜์—ฌ ๊ฐ’์„ ์‚ฝ์ž…ํ•  ์ˆ˜ ์žˆ๋‹ค.