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 ▸

What is the difference between a float and an integer variable type?


What is the difference between a for loop and a while loop.


How do I use for loops in Python?


Which four data types are used in Python? Can you give an example of each?