8000 Use string concatenation · MayMayX/python-basics-exercises@3a5bc42 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a5bc42

Browse files
authored
Use string concatenation
1 parent 6329ad0 commit 3a5bc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch04-strings-and-string-methods/5-challenge-pick-apart-your-users-input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
user_input = input("Tell me your password: ")
88
first_letter = user_input[0]
9-
print("The first letter you entered was:", first_letter.upper())
9+
print("The first letter you entered was: " + first_letter.upper())

0 commit comments

Comments
 (0)
0