Please enable JavaScript to use CodeHS

Want to receive Question of the Day updates? Subscribe Here

Python Question of the Day Jan. 29, 2025

  1. Incorrect Correct No Answer was selected Invalid Answer

    What will be the output when this program is run?

    sentence_1 = "Computers are incredibly fast, accurate, and stupid"
    sentence_2 = "Human beings are incredibly slow, inaccurate, and brilliant"
    sentence_3 = "Together they are powerful beyond imagination"
    author = "Einstein"
    
    secret_word = author[-3] + sentence_2[-5] + sentence_1[6] + sentence_2[10] + sentence_2[3] + author[-1] + sentence_1[5]
    
    print(secret_word)
    Python