What is x? x = 12 % 5 5 12 1 2 3 4
What does Python print if you type in when you run the program? 12 Here’s a program: hello = 12 response = input(‘Type something in: ‘) print response What does Python print if you type in 8 when you run the program? 12 response hello
What does Python print if you type in when you run the program? ‘6+5’ Here’s a program: hello = 12 response = input(‘Type something in: ‘) print response What does Python print if you type in 6+5 when you run the program? ‘6+5’ 11 hello response
What does Python print if you type in when you run the program? 12 Here’s a program: hello = 12 response = input(‘Type something in: ‘) print response What does Python print if you type in hello when you run the program? 12 ‘hello’ response
When should you use input instead of raw_input? When raw_input doesn’t get me the answer I want Never When Dave’s not looking When I want strange bugs to happen A and C B, or possibly D None of the above