Question 4 - Week 1 Practice | Prasnya
Prasnya
Continue with Google
Practice path
Dashboard
Exam
Qualifier / Quiz 1
Go to subject
Programing with python
Go to chapter
Week 1
Question 4
00:00
Est. 1 min
Marks:
+3.00
0.00
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)) ```
Integer answer
Easy Difficulty
23 February 2025
Your answer