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 FOR loop and WHILE loop and how do I write them?


What built-in types does python provide?


What are the main data structures that I can use in Python


How do you write code to implement a recursive fibonacci algorithm?