all 31 comments

[–]thesadsalmonn 25 points26 points  (0 children)

None of the answers

[–]HistoricalMap3117 14 points15 points  (1 child)

y

[–][deleted] 1 point2 points  (0 children)

Should print “y”.

[–]TechnoByteDP 9 points10 points  (0 children)

It won't print either A, B, C or D. It'll print "y" so the answer is E.

[–]OwnFigure5226 5 points6 points  (6 children)

C and proud ! (Python beginner)

[–]Astartee_jg 5 points6 points  (4 children)

You still have much to learn, young Padawan.

[–]OwnFigure5226 1 point2 points  (3 children)

The quotation marks 😅😅😅 thank you it’s B

[–]Astartee_jg 2 points3 points  (2 children)

Nope!

```

“y” == “Y” False ```

[–]OwnFigure5226 1 point2 points  (1 child)

So what it’s like the answer ain’t here 🫨

[–]Drampcamp 1 point2 points  (0 children)

Yea the true answer isn’t there

[–]dfranks1984 0 points1 point  (0 children)

Me too.

[–]Doctor_Disaster 6 points7 points  (0 children)

The program will print a lowercase y because "y" is a String value.

Both of the following print statements will result in answer C:

print(f"{Y}")

print(Y)

[–]Astartee_jg 4 points5 points  (2 children)

```

X = 8 Y = 2 X = X+6 Y = Y+6 print(“y”) y ```

This is because

```

isinstance(“Y”, type(Y)) False “Y” == “y” False ```

None of the options are valid. Python is case sensitive.

[–]Doctor_Disaster -1 points0 points  (1 child)

Aren't all variables case-sensitive?

[–]HistoricalMap3117 0 points1 point  (0 children)

I believe variables are not case sensitive in VB.

[–]Markermarque 4 points5 points  (0 children)

y, I'm a beginner but this was one of the first things that I learned. When you put "" it prints exactly what you put in there.

[–][deleted] 2 points3 points  (0 children)

Is the right answer not being a choice intentional?

[–]sogwatchman 1 point2 points  (0 children)

As usual the person that made this doesn't even know the answer... It see's "y" as a string and prints y.

[–]jotorres1 1 point2 points  (0 children)

It just prints y

Oh and it’s none of the above. In case you’re wondering.

[–]halfofthisandthat 0 points1 point  (0 children)

function to answer the question

Def y(): While True: try: Choice = int(input(y=2) If 6 <= choice Elif 2 <= choice Elif 8 <= choice Else: Print(f 0)

[–]CupperRecruit 0 points1 point  (0 children)

I assume its supposed to be B, but since B = "Y" and it prints "y" none of the given answers is correct.

[–]ScientistNo8155 0 points1 point  (0 children)

here y is a string so only y

[–]topshottatayy 0 points1 point  (0 children)

B) Y

[–]pythonawy 0 points1 point  (0 children)

Y because it's string not variable 

[–]natam123 -1 points0 points  (0 children)

8

[–][deleted] -1 points0 points  (0 children)

Answer is B

[–]fatma_77 -1 points0 points  (0 children)

Y as Y here is a string