- 1
what is shorter statement of if Or else statemeny
pls tell
16 Respuestas
+ 1
i got.it write it was elif
+ 3
Hi,please dont spam
The Q&A is used for QUEST PROGRAMMING questions 👍
Also see this forum for understand better
https://www.sololearn.com/discuss/1316935/?ref=app
+ 2
What are you planning to build?
+ 2
I missed understood your question.
+ 1
ternary operator
example for finding max of two numbers:
with if & else:
a =3
b = 5
if(a>b)
print(a is max)
else
print(b is max)
with ternary:
print(a>b ? a : b is max)
+ 1
so what should i write i am too new to it
+ 1
which programming language you're learning?
+ 1
+ 1
i am just tryying to solve the python basics questions
+ 1
ty so much
+ 1
"i got.it write it was elif"
that's good you figure it out yourself, nice! 👏😊
0
i am so sorry
0
np
0
can u teach me some python
0
lol
- 1
I need help with arrays...where i have to read from text file first