Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ef3bc39

Browse files
authored
修改首字母bug
1 parent 91c2bb7 commit ef3bc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎NP12.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
str1 = str(input())
22
print(str1.lower()) # 全小写
33
print(str1.upper()) # 全大写
4-
print(str1.capitalize()) # 首字母大写
4+
print(str1.title()) # 每一段的首字母大写

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /