Skip to content

Commit c42f25e

Browse files
Joining two statements
1 parent 913de06 commit c42f25e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Joining two satements

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
You are given the firstname and lastname of a person on two different lines. Your task is to read them and print the following:
2+
3+
Hello firstname lastname! You just delved into python.
4+
5+
Input Format
6+
7+
The first line contains the first name, and the second line contains the last name.
8+
9+
Constraints
10+
11+
The length of the first and last name ≤ .
12+
13+
Output Format
14+
15+
Print the output as mentioned above.
16+
17+
Sample Input 0
18+
19+
Ross
20+
Taylor
21+
Sample Output 0
22+
23+
Hello Ross Taylor! You just delved into python.
24+
Explanation 0
25+
26+
The input read by the program is stored as a string data type. A string is a collection of characters.

0 commit comments

Comments
 (0)