Unexpected Indent /2 In Python, we increase the indentation level of our code to define a new block for statements like def. Indentation is
Unexpected Indent /2 In Python, we increase the indentation level of our code to define a new block for statements like def. Indentation is expected to be consistent. The code below uses inconsistent indentation. Submit the provided code and click on the "Expand for Detailed Error Message" dropdown to determine where the Unexpected Indent error occurs. Then, make changes to the starter code to resolve the error. def introduce(name: str) -> str: """Return "Hello, my name is 1 + name, 4 >>> introduce("Michael") 5 "Hello, my name is Michael" 6 hi = "Hello, my name is " return hi + name 8 History Submit
Step by Step Solution
3.39 Rating (155 Votes )
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started