Homework Help Question & Answers

) Programming: Return and Print M Finst Back 22.1) Print greeting (o/s completed) NtLast BlockPy: #22.1)...


) Programming: Return and Print M Finst Back 22.1) Print greeting (o/s completed) NtLast BlockPy: #22.1) Print greeting write a function print greeting that consumes a name asa stringval e and prits out Hetto X·where X is the given name So for example, if the name Bruce Nayne was passed in, the function should print Hello Bruce Wayne. Try your function on a string. Execution Feedback: Syntax error Invalid syntax on line 3 Console Run 瓥Blocks Split., Text gReset ⑨Upload . gHistory
) Programming: Return and Print M Finst Back 22.1) Print greeting (o/s completed) NtLast BlockPy: #22.1) Print greeting write a function print greeting that consumes a name asa stringval e and prits out Hetto X·where X is the given name So for example, if the name "Bruce Nayne" was passed in, the function should print Hello Bruce Wayne. Try your function on a string. Execution Feedback: Syntax error Invalid syntax on line 3 Console Run 瓥Blocks Split., Text gReset ⑨Upload . gHistory
0 0
Add a comment
Answer #1

Sign Up to Unlock the answer FREE

Already have an account? Log in

def print_greeting(name):
    print('Hello', name)


print_greeting("Bruce Wayne")

Hello Bruce Wayne Process finished with exit code 0

Add a comment
Know the answer?
Add Answer to:
) Programming: Return and Print M Finst Back 22.1) Print greeting (o/s completed) NtLast BlockPy: #22.1)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coin

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
Active Questions
ADVERTISEMENT