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)
'스터디 > 파이썬 스터디 과제' 카테고리의 다른 글
[2팀 / 이유진] 6차시 파이썬 과제 - 문자열 (0) | 2023.05.10 |
---|---|
[3팀 / 김은수] 6차시 파이썬 과제 - 문자열 (1) | 2023.05.10 |
[1팀/이도연] 6주차 파이썬 과제 - 문자열 (0) | 2023.05.09 |
[1팀/김은혜]6차시 파이썬 과제 - 문자열 (0) | 2023.05.09 |
[4팀/김윤] 6차시 파이썬 과제 - 문자열 (0) | 2023.05.09 |