Posts by Matheus Avellar • 281 points
3 posts
-
5
votes1
answer1323
viewsA: What is Delayedexpansion and why is it not enabled by default?
Definition and use DelayedExpansion causes variables to be "expanded" (transformed from variable names to values) during the Runtime, that is, during the execution of the code. The default is that…
-
1
votes1
answer335
viewsA: Recover localStorage data in your particular input!
Your problem is not with the localStorage, this part of the code is perfect. The problem is with your variable inputs. Because $('input[type="text"]') returns an array with all <inputs> type…
-
4
votes2
answers831
viewsA: How do I check if it’s uppercase, lowercase, or mixed with lowercase?
You don’t have to! Simply convert the variable to lowercase (all tiny) using .lower(), and then compare with the lowercase version of the name. Thus: if var.lower() == "joao": print("Qualquer…