Unit 1 Session 1 (Click for link to problem statements)
Understand what the interviewer is asking for by using test cases and questions about the problem.
Plan the solution with appropriate visualizations and pseudocode.
General Idea: Put the lines of code in order to write and call a function that prints a message.
1) Create a new function by writing a function signature
2) Inside the function body, print "Hello World" to the console
3) Call the created function
⚠️ Common Mistakes
def hello_world(): # Function signature
print("Hello world!") # Function body. Will print "Hello world!" to the console
hello_world() # Function call