๐Ÿ“š ์Šคํ„ฐ๋””/ํŒŒ์ด์ฌ ์Šคํ„ฐ๋”” ๊ณผ์ œ ์ œ์ถœ

[3ํŒ€/์•ˆ์†Œ์—ฐ] 6์ฐจ์‹œ ํŒŒ์ด์ฌ ๊ณผ์ œ-๋ฌธ์ž์—ด

์•Œ ์ˆ˜ ์—†๋Š” ์‚ฌ์šฉ์ž 2023. 5. 10. 15:56

1๋ฒˆ

- 5๋ฒˆ

 

2๋ฒˆ

- 5๋ฒˆ

 

3๋ฒˆ

This is New AI World

4๋ฒˆ

sentence= 'Hello,my name is python?!'
print(sentence[0]+sentence[5]+sentence[7:10])

5๋ฒˆ

- 4๋ฒˆ

 

6๋ฒˆ

- d

 

7๋ฒˆ

- 1๋ฒˆ

 

8๋ฒˆ

- 2๋ฒˆ

 

9๋ฒˆ

str1=input(str())
str2=input(str())

if str2 in str1:
    print(1)

else: print(2)

10๋ฒˆ

A,B= map(int,input().split())

if A>B:
    print(str(B)[::-1])
else:
    print(str(A)[::-1])

11๋ฒˆ

S=input()
alphabet='abcdefghigklmnopqrstuvwxyz'
i=0

for i in alphabet:
    if i in S:
        print(S.find(i))

    else: print(-1)