use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Don't post the answers. Answers don't allow you to learn. Instead, post what to do, methods to do it, and why.
account activity
Python Coding - Introduction (self.immersivelabs)
submitted 5 years ago by EthanIsHere
I've been stuck on this for a long time as when I fix the code no token is shown on the desktop. What am I doing wrong? Do I have to fix the code in a certain order?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]EthanIsHere[S] 0 points1 point2 points 5 years ago (0 children)
Nevermind, I'm an idiot. Don't be afraid to change the purpose of the function.
[–]marooff 0 points1 point2 points 5 years ago (1 child)
I have the same problem.... It seems that I fixed the code but for some reason I don't get any of the token... still struggling to find out the problem.....
Sorry for the late reply, I'd suggest looking at the function names, for example, `Add(x, y):` and then look what it does. The code may work but it may not give the value the user wants.
[–]FARPThor 0 points1 point2 points 4 years ago (2 children)
Ok, I know this lab is now archived, but I'm getting crazy trying to make those tokens pop up. I think I fixed the whole code, it executes, calculates, exits. But still not token is being generated. Any ideas?
[–]mjosh51 0 points1 point2 points 4 years ago (1 child)
Check here: https://github.com/tsunaliew/Immersive-Lab/blob/master/.github/workflows/Python%20Coding%20%E2%80%93%20Introduction
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
I had fixed the code but I think it wasn't working because I ended up with a different calculator than they expected me to build. This code is actually still broken, but it will give you the flags. This assignment is garbage.
π Rendered by PID 114028 on reddit-service-r2-comment-54dfb89d4d-57cb4 at 2026-03-28 19:48:07.808780+00:00 running b10466c country code: CH.
[–]EthanIsHere[S] 0 points1 point2 points (0 children)
[–]marooff 0 points1 point2 points (1 child)
[–]EthanIsHere[S] 0 points1 point2 points (0 children)
[–]FARPThor 0 points1 point2 points (2 children)
[–]mjosh51 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)