0
Nega ifdan so'ng barchasiga else yozish kerak?
Notebook jupyter da shu kodi yosam hato deyapdiyu va u bita elseni qabul qilyapdi
6 Respostas
+ 1
Trasnslated:
In Anaconda, only bita else is allowed after bita if num = 3
if num == 1:
print ("One")
else:
if num == 2:
print ("Two")
else:
if num == 3:
print ("Three")
else:
print ("Something else") and here else there is after each if that anaconda program says error
0
Thank you very much for your attention bro
0
Can you copy this code and paste it into Anaconda then run
0
Will it work or not?