107k views
5 votes
Retype the statements, correcting the syntax error in each print statement. print('Predictions are hard.") print(Especially about the future.) user_num = 5 print('user_num is:' user_num)

User Kompot
by
6.1k points

1 Answer

2 votes
print(‘Predictions are hard’)
print(‘Especially about the future’)
user_num = 5
print(‘user_num is:’+str(user_num))

There are many ways to do the last print. Look up string interpolation
User Balasubramanian S
by
7.1k points