Q4.What is the output of the following snippet of code? Enter an integer as your answer.
```
str1 = "New year"
str2 = "day"
str3 = str1[:3] + " " + str2[:] # There is a single space between the quotes
print(len(str3))
```
Save
Check
Details
Q4
23 Feb 2025
Q4.What is the output of the following snippet of code? Enter an integer as your answer.
```
str1 = "New year"
str2 = "day"
str3 = str1[:3] + " " + str2[:] # There is a single space between the quotes
print(len(str3))
```