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

What is the output of this code?

if print(print('Happy')): return

pythonoutputcodeprintififelseifstatement
12th Dec 2019, 4:38 PM
Kaushal M. Vasava
Kaushal M. Vasava - avatar
1 ответ
+ 1
The output is: SyntaxError: Return outside function But, you can try it out by yourself.
12th Dec 2019, 4:59 PM
Coding Cat
Coding Cat - avatar

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

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

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
How many time I can use sololearn trial mode?
2 Votes
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Sololearn course
1 Votes
solo learn program issue - iPhone?
1 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
Bug sur le deuxième cours de python
1 Votes
I am learning javascript intrmdt but when I play a code challenge. The app is givin me comlecated questions with less time.why?
0 Votes