New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Link sharing issues
2 Votes
2 AnswersWho knows Github ?
6 Votes
1 Answerdjango navbar
0 Votes
2 Answers? : are called Ternary Operators.
ex.
var = booleanExp ? ValueIfTrue : ValueIfFalse;
and that ? literally means "Asking a Question" Asking if the Boolean Expression is True.
If the Boolean Expression returned true, the Value for "True" will be assigned to the variable.
If the Boolean Expression returned false, the Value for "False" will be the one that'll be assigned to the variable instead.
I'm not asking a question, I just wanna share this to you guys 😁
18 Votes
6 Answerscan someone tell me how to make it impossible for a user to type a 'userchoice1[x]' value that does not range from 1 - 10.
If you also know a way I can make the user input another value for the 'userchoice1[x]' variable if it is less than 1, I'll appreciate you share the knowledge with me.
please see the short code below
1 Vote
2 AnswersHot today
Phishing page
0 Votes
Return
0 Votes
Accessing null element
2 Votes
Why doesn't this work?
1 Votes
Code coach problem
0 Votes
How store the users data
0 Votes
How to send code output to other
0 Votes