• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu
0

why does x need brackets?

>>> x = 4 >>> x + = 5 >>> print (x)

python
29th Jul 2017, 7:57 PM
Carson Feng
Carson Feng - avatar
2 ответов
+ 2
because the print statement is a function and x is the argument of it
29th Jul 2017, 8:05 PM
Dennik

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Is this realistic enough?
2 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
I am a beginner, please teach me how to use Python
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
Cybersecurity techies
2 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes