- 1

what is shorter statement of if Or else statemeny

pls tell

18th May 2021, 7:56 PM
Khadija Rafiq
16 ответов
+ 1
i got.it write it was elif
18th May 2021, 8:06 PM
Khadija Rafiq
+ 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
18th May 2021, 11:00 PM
Katdotbrush
Katdotbrush - avatar
+ 2
What are you planning to build?
18th May 2021, 8:04 PM
minirkk
minirkk - avatar
+ 2
I missed understood your question.
18th May 2021, 8:08 PM
minirkk
minirkk - avatar
+ 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)
18th May 2021, 8:00 PM
minirkk
minirkk - avatar
+ 1
so what should i write i am too new to it
18th May 2021, 8:01 PM
Khadija Rafiq
+ 1
which programming language you're learning?
18th May 2021, 8:03 PM
minirkk
minirkk - avatar
18th May 2021, 8:03 PM
Khadija Rafiq
+ 1
i am just tryying to solve the python basics questions
18th May 2021, 8:05 PM
Khadija Rafiq
+ 1
ty so much
18th May 2021, 8:07 PM
Khadija Rafiq
+ 1
"i got.it write it was elif" that's good you figure it out yourself, nice! 👏😊
18th May 2021, 8:08 PM
minirkk
minirkk - avatar
0
i am so sorry
18th May 2021, 8:05 PM
Khadija Rafiq
0
np
18th May 2021, 8:09 PM
Khadija Rafiq
0
can u teach me some python
18th May 2021, 8:09 PM
Khadija Rafiq
0
lol
18th May 2021, 8:10 PM
Khadija Rafiq
- 1
I need help with arrays...where i have to read from text file first
19th May 2021, 9:42 AM
Orearabile ramokoka
Orearabile ramokoka - avatar