fork download
  1. # your code goes here
  2.  
  3. x = 5 #variable x is now int
  4. y = "hello world" #variable y is now string
  5.  
  6. #variables omit the quotes
  7.  
  8. print ("x")
  9. print (x)
  10. print (y)
  11.  
  12. z = 'good morning world'
  13.  
  14. print (z)
  15.  
  16. x1, x2, x3 = 'orange', 'banana', 'cherry'
  17.  
  18. print(x1, x2, x3)
  19. print(x1); print(x2); print(x3)
  20. # print(x1), print(x2), print(x3) occur error
  21.  
Success #stdin #stdout 0.01s 7180KB
stdin
# your code goes here

x = 5 #variable x is now int
y = "hello world" #variable y is now string

#variables omit the quotes

print ("x")
print (x)
print (y)

z = 'good morning world'

print (z)

x1, x2, x3 = 'orange', 'banana', 'cherry'

print(x1, x2, x3)
print(x1); print(x2); print(x3)
# print(x1), print(x2), print(x3) occur error
stdout
x
5
hello world
good morning world
('orange', 'banana', 'cherry')
orange
banana
cherry