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
i m unable to solve specific pyton pattern problems (diamond pattern) ,
can i ask problem related to that here?
Why would you use something as massive as numpy for a thing that the standard library can do https://docs.python.org/3/library/random.html
Читать полностью…
bro i don’t recommend telebot, aiogram seems to be much better.
at the start telebot is easier but its for noobs, at some point telebot won’t be enough and you will restudy for aiogram
the main difference is that aiogram is async and telebot is sync and its bad yk
Find websites (e.g. Stackoverflow, Coddy), watch video courses, use flashcards, etc. If books don't work, try something that moves.
Читать полностью…
Studying along with the textbook is not very difficult, but it feels like the progress is too slow. I mostly understand the basics of Python, but when it comes to actual operation, I have no idea what to do. I have to rely on the book, but it's impossible to form a long-term memory and I tend to forget things. However, when I look it up in the book again, I can understand it immediately.
Читать полностью…
Thank you. I've come to understand that learning requires more patience. Please excuse me.
Читать полностью…
Or perhaps you need to be more patient, not even 10 minutes passed
Читать полностью…
It is normal to not beg
able to do things faster when learning, just keep practicing and you'll get used to it
Besides, I want to learn English. Do you have any good methods to recommend? Reading English content is too tiring.
Читать полностью…
Or just import the random module and use the random.randint() function.
Читать полностью…
Hi everyone, I can't solve the loop problems in Python.
- Write a program—a "surprise pie" simulator—that, when launched, displays one of five different "surprises", chosen randomly.
- Write a program that "flips" a virtual coin 100 times and reports how many times heads came up, and how many times tails.
- Modify the "Guess the Number" program so that the player has a limited number of attempts. If the player does not guess the correct number (and loses), the program should output the harshest possible message.
- And here is a more complex task. Write a pseudocode algorithm for a game in which a computer guesses a number between 1 and 100, and the person thinks of a number. Before starting to write the code, think about what the optimal guessing strategy should be. If your pseudocode algorithm is successful, try implementing the game in Python.
Can anyone recommend a book where I can get python projects to be working with while studying?
Читать полностью…
I am determined to become an expert in using Python for web scraping.
Читать полностью…
Yes that's a valid approach but if you struggled while following a material it will be a little bit harder to do it without guidance. But if that suits you it's great, I prefer to do it that way tbh but because once you learn the basic stuff moving is easier
Читать полностью…
OK, I understand. I'm very sorry for the resource consumption.
Wouldn't it be better to learn while doing? When encountering questions that you don't understand, it would be more effective to look up the documentation and remember it. I have decided to put down my books and directly start working on the program projects I want to do. I will grow through difficulties.
May I ask, when I'm learning Python web scraping, what are some good learning methods? I've been reading an introductory-to-practical book, but my progress is very slow. I tend to forget what I've learned after finishing it. I understand when I'm studying, but I don't know where to start when it comes to doing it. Do you have any good suggestions? Which is better, learning through videos or books?
Читать полностью…
I don't know what you want then, like how to understand if you struggle with the language
Читать полностью…