1. 25.0
2. I eat 10 oranges every day.
3. Pythonlanguage
-1
False
4.
a = "hello world"
print("The first character is :", a[0])
print("The last character is : ", a[10])
5. a + b = 30
6.
str1 = "Hello World"
str_count1 = str1.count('o')
print("The character o arrears", str_count1, "in the string.")
7. REMEMBER 0815
8. orange&pink&brown&black&white&yellow
'스터디 > 파이썬 스터디 과제' 카테고리의 다른 글
[3팀 / 김은수] 6차시 파이썬 과제 - 문자열 (1) | 2023.05.10 |
---|---|
[3팀/안소연] 6차시 파이썬 과제-문자열 (0) | 2023.05.10 |
[1팀/김은혜]6차시 파이썬 과제 - 문자열 (0) | 2023.05.09 |
[4팀/김윤] 6차시 파이썬 과제 - 문자열 (0) | 2023.05.09 |
[4팀/김윤] 5차시 파이썬 과제 - 함수 (0) | 2023.05.09 |