+ 1

IF in the Julia programming language

hi guys can someone help me. I recently started to learn the Julia programming language and I couldn't find how to do multiple conditions in a single IF. Does anyone know how ?. In python "and" or "or" are used

18th Mar 2020, 11:06 AM
Bia
Bia - avatar
3 ответов
+ 7
It does support conditionals. Try '&&' for 'and', '||' for 'or'. #code sample x=1; y=2 if x<y && 3>y && 1<y println("X is less than y ") end ref: https://docs.julialang.org/en/v1/manual/control-flow/ One tip. Try using the docs once a while. It helps. Mûhãmmëd💡🚁🏇🏆 He is asking about julia not python ;)
18th Mar 2020, 6:19 PM
Lord Krishna
Lord Krishna - avatar
0
Show this code 👇👇👇👇 https://code.sololearn.com/c6bZ5DYw8EOY/?ref=app
18th Mar 2020, 11:58 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
0
Julia uses keywords "and" , "or", and "not" plus many more
11th May 2020, 9:52 PM
Neur0s1s
Neur0s1s - avatar