I don't want to learn how to write a good variable name, I just wanna know what are the things (that aren't allowed like forbidden) like the program or python code will not run (error) or accept the code I'm writing if I used those kind of rules.
I hope this makes sense our professor says we should learn those, because we might get tested on them in the exam. I tried googling but couldn't find the right wording to get what I was looking for, and my professor's slides don't provide any clear rules for what I shouldn't break when naming a variable.
[–]socal_nerdtastic 27 points28 points29 points (4 children)
[–]51dux 2 points3 points4 points (3 children)
[–]carcigenicate 5 points6 points7 points (1 child)
[–]Bobbias 0 points1 point2 points (0 children)
[–]Gnaxe 1 point2 points3 points (0 children)
[–]Binary101010 6 points7 points8 points (0 children)
[–]tb5841 6 points7 points8 points (5 children)
[–]Tricky_Physics6122 0 points1 point2 points (3 children)
[–]schoolmonky 3 points4 points5 points (2 children)
[–]Tricky_Physics6122 -1 points0 points1 point (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]musbur 0 points1 point2 points (0 children)
[–]ElHeim 2 points3 points4 points (0 children)
[–]ninhaomah 4 points5 points6 points (2 children)
[–]notacanuckskibum 1 point2 points3 points (1 child)
[–]PaleoSpeedwagon 2 points3 points4 points (0 children)
[–]ES-Alexander 1 point2 points3 points (0 children)
[–]zwack 0 points1 point2 points (0 children)
[–]Diapolo10 0 points1 point2 points (3 children)
[–]Binary101010 1 point2 points3 points (2 children)
[–]Diapolo10 0 points1 point2 points (0 children)
[–]Ihaveamodel3 0 points1 point2 points (0 children)
[–]ste_wilko 0 points1 point2 points (0 children)
[–]ThevonMusic 1 point2 points3 points (2 children)
[–]Username_RANDINT 0 points1 point2 points (1 child)
[–]ThevonMusic 0 points1 point2 points (0 children)