Question: answer all c. Nothing d. lettera, letter 5. What will happen when this code is executed? 1 def welcome () : 2 Print (Hello world)
c. Nothing d. lettera, letter 5. What will happen when this code is executed? 1 def welcome () : 2 Print (Hello world") 3 welcome() a. Syntax error on line 2 b. Syntax error on line 3 c. Nothing d. Hello world will appear Variables and input 1. Take a look at the code below. Read it carefully and try to make a prediction about what might happen when this code is executed. noun = "house " adverb = "calmly" adjective = "round" print( fThe (noun) was \{adjective\} when it \{adverb) went to school') noun = "bus" adverb = "quietly" adjective = "giant" print( f "The \{noun\} was \{adjective\} when it \{adverb) went to school*)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
