SISTEM INFORMASI

SISTEM INFORMASI

Tuesday, March 28, 2017

Belajar Python

Exercise 1 .

What will be printed after each of the following code segments? If error, then write Error

Pay attention to the spaces. Your answer should exactly match the correct Python output.

print(4+5)





print(6 * 7)




x = 2
print(x)





x = 2.0
print(x)





print(9 / 2)







print(8/2)






print(24 - 13)





x = 24
print(x * 2)




Apakah Hasilnya sama 

No comments:

Post a Comment

 
Blogger Templates