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 ▸

Implement a rocket launch countdown.


What is the difference between a FOR loop and WHILE loop and how do I write them?


Implement a fibonacci function which calculates the nth number of the fibonacci sequence.


Write a python function that takes a string as parameter and returns the character in the string with the most occurrences, along with the number of times this character occurs