Post

Sergei Kotov
Sergei Kotov@kotov_dev·
@Python_Dv Answer: 1 (The result is 8) Simple one! x = 5, y = 3, so x + y = 8. The print() outputs "The result is 8". For beginners: When print() has multiple arguments separated by commas, Python adds spaces between them automatically!
English
0
0
0
241
Premakumar Thevathasan (Prem Iyer)
@Python_Dv X = 5 → Variable X is assigned the integer value 5. y = 3 → Variable y is assigned the integer value 3. result = X + y → result becomes 5 + 3, which is 8. print("The result is", result) → This prints the string "The result is" followed by the value of result, which is 8 =>
Premakumar Thevathasan (Prem Iyer) tweet media
English
0
0
0
145
Manish Khyalia
Manish Khyalia@Manish_Kumar60·
@Python_Dv Output: The result is 8 Because x = 5 and y = 3, so x + y = 8. The comma in print() automatically adds a space between the text and the value
English
0
0
0
75
Yash
Yash@buildwithyash·
@Python_Dv It option A Obviously so easy basic
English
0
0
0
99
dat nguyen
dat nguyen@dat_nguyen94·
@Python_Dv The correct answer is option 1. The result is 8 because 5 + 3 equals 8.
English
0
0
0
17
Paylaş