python | Unsorted

Telegram-канал python - Python

135201

You will be muted until you read the rules. Read them! @Rules_for_Python A group about the Python programming language. Offtopic things go here: @pythonofftopic Resources to learn python: @pythonres Group for Hy: @hylang Selenium: @SeleniumPython

Subscribe to a channel

Python

Use ai and vibe code^^

Читать полностью…

Python

That's a very big business

Читать полностью…

Python

Take on some apprentices and teach them skills

Читать полностью…

Python

I didn't. The code didn't seem to match the description of the task. The description felt unclear. It wasn't as clear as I suspected it should be, so I investigated. Turns out when translated from Russian, it would sound like that. Also the name in the profile was Cyrillic. Two hints. Enough for reasonable suspicion. Then I asked.

Читать полностью…

Python

Can I get beginners material?

Читать полностью…

Python

Thank you, I'm starting to understand

Читать полностью…

Python

Yes, I'm from Russia, I translate, it's hard for me to communicate, but I can't find help

Читать полностью…

Python

This is a problem from the example of the exam I'm going to have, what else?

Читать полностью…

Python

I'm just getting ready

Читать полностью…

Python

And to pass well, I'm asking for help from you, which I don't get

Читать полностью…

Python

The purpose of an exam assignment is to test your knowledge and capabilities to give you a grade that reflects your knowledge and capabilities. It defeats the purpose if others provide you help with that.

Читать полностью…

Python

For n in range (1,100):
r = bin(n)[2:]
if n % 2 == 0:
r = r + “1”
if n % 2 == 1:
r = r + “0”
if n % 2 == 0:
r.count (“1”)
If n % 2 == 1:
r.count (“0”)
r = int(r,2)
if r > 54:
print(r)
I wrote the code so but the minimum number I have is 58

Читать полностью…

Python

The minimum number R greater than 54 that can be a result of the algorithm is 56.

Читать полностью…

Python

Hello everyone, who will help you figure out the problem?

Читать полностью…

Python

You said the same thing bro 😅

Читать полностью…

Python

Iam New In Python 😅

Читать полностью…

Python

u can do a world of things with Python if u know it

Читать полностью…

Python

Can We Create BOT Telegram In Python ?

Читать полностью…

Python

How did you know where the user is from 🤔

Читать полностью…

Python

It should read clearer in Russian.

Читать полностью…

Python

I believe your mistake starts with the interpretation of the task at 2A. More specifically here:

if the number of units in the binary notation of the number is even

Читать полностью…

Python

Just the phrasing is a bit unusual. And it seems that a translation of the exam question from Russian to English would account for that oddity.

Читать полностью…

Python

Have you translated the question?

Читать полностью…

Python

So it's a question that may come up in your exam or possibly was a task in previous exams, but this is not your current exam question?

Читать полностью…

Python

What does that mean? I've been learning python quite recently and I only have an exam in a year

Читать полностью…

Python

This is an exam assignment

Читать полностью…

Python

I'd suggest you start with and only focus on point 1. If the rest confuses you, it'll become clearer once you solved that point.

Читать полностью…

Python

The natural number N is given to the input of the algorithm. The algorithm constructs a new number R on it as follows.

1. A binary notation of the number N is being built.

2. Two more categories are added to this entry on the right according to the following rule:

A) at the end of the number (on the right) is added 1, if the number of units in the binary notation of the number is even, and 0, if the number of units in the binary notation of the number is odd;

B) 1 is added to this entry on the right if the remainder of the division of the number of units by 2 is 0, and 0 if the remainder of the division of the number of units by 2 is equal to 1.

The record obtained in this way is a binary notation of the desired number R.

Specify the minimum number R, which exceeds 54 and can be the result of the algorithm. In the answer, write down this number in the decimal system.

Читать полностью…

Python

Thank you for telling me. I never would have figured that out on my own.

Читать полностью…

Python

Actually +1 for this question

Читать полностью…
Subscribe to a channel