What would output this code? print(hello world)

It would be an error since you can only print a string. To make a string we must have "" or str() print("hello world")

TJ

Related Python Mentoring answers

All answers ▸

Create an rock, paper, scissors game. The user should input one option, and the computer should play randomly.


What is the difference between using range() and a list of values?


How would you write a while loop to print all even numbers from 1-10?


Create a program that checks for syntactical errors in an email address.