Вычисление выражений Python
Вы наверняка знакомы с eval, но знаете ли вы о literal_eval? Вряд ли. Для безопасного исполнения выражений, содержащих исключительно литералы, вы можете делать так, как показано на картинке выше.
Между прочим, данная фича находится в языке уже очень давно.
#tips#eval
*The difference among Made of/from/by/in/with*
💡 Made of is used when the material DOES NOT change:
The chair is made of wood.
✨ Made from is used when the material CHANGES:
This plastic is made from oil.
🗣 Made by is used as a product of a specific Company:
This shirt is made by Nike
🏷 Made in is used as a product a country:
Made in china.
📌 Made with is used when something is produced by a Application:
Made with Powerpoint.
🚥🚥🚥🚥🚥🚥🚥🚥
#teamjimmy
#sirjimmy
#Tips
How to improve english
1. Practice regularly: The key to improving any language skill is consistent practice. Make an effort to read, write, speak, and listen to English every day.
2. Expand your vocabulary: Learn new words and phrases regularly by reading books, newspapers, and online articles. Keep a vocabulary journal to track your progress. 3. Practice speaking: Find opportunities to practice speaking English with native speakers or other learners. Join conversation groups, attend language exchange events, or practice with a tutor.
4. Listen to English: Watch movies, TV shows, podcasts, and music in English to improve your listening skills. Pay attention to pronunciation, intonation, and word stress.
5. Write regularly: Keep a journal, write essays, or start a blog in English to practice your writing skills. Ask for feedback from native speakers or teachers to improve your writing.
6. Take English classes: Consider enrolling in an English language course or hiring a tutor to receive personalized instruction and feedback.
7. Use language learning apps: There are many apps available that can help you improve your English skills, such as Duolingo, Babbel, and Rosetta Stone.
8. Set goals: Establish specific goals for your English learning journey, such as passing a proficiency exam or being able to hold a conversation with a native speaker. Track your progress and celebrate your achievements along the way.
9. Be patient and persistent: Learning a new language takes time and effort, so be patient with yourself and stay motivated even when progress feels slow.
10. Immerse yourself in the language: Surround yourself with English as much as possible by watching English-language TV shows and movies, listening to English music, reading English books, and interacting with native speakers whenever you can.
🚥🚥🚥🚥🚥🚥🚥🚥
#sirjimmy
#teamjimmy
#Tips
🤪 Ways to say you don't understand
1️⃣ Formal short phrases you can use:
🙂 Pardon?
🥹 Sorry?
😊 Excuse me?
😠 I beg your pardon?
2️⃣ Informal short phrases you can use:
😧 What did you say?
😏 Huh?
🙂 ‘Scuse me?
😱 What was that?
🤔 Hmm?
3️⃣ Now, let's see some slang phrases:
💭 Come again?
💭 Pass that by me again?
💭 I don’t get it
4️⃣ And some idioms:
((Idioms aren't translated literally))
📰This is all Greek to me
⚡ I think our wires are crossed
🪨 That was as clear as mud
👄 Everything you said is just a word salad
━━━━━━━━━━━━━━━━━━━━
#sirjimmy
#teamjimmy
#tips
📌 Tough, Though, Thought, Through, Thorough
🔸 Tough (adj.) - strong, difficult
📖 These toys are made from tough plastic.
📖 Many homeless people are facing a tough winter.
🔸 Though (conj.)
📖 I play the piano tolerably well, I have no particular talent for it.
🔸 Thought (verb) - past form of "think"
🔸 Through (pre., adverb)
📖 They walked slowly through the woods.
📖 I'm here through her. I'm very happy.
🔸 Thorough (adj.) - careful, complete, very great
📖 They did a thorough search of the area but found nothing.
━━━━━━━━━━━━━━━━━
#sirjimmy
#teamjimmy
#tips
👁️ Turn a blind eye.
📝 Definition: Pretend not to notice.
😊Examples:
1. Please, don't turn a blind eye to what is happening.
2. We cannot continue to turn a blind eye or ear and pretend that all is well when many people are hurting and yearning for help.
3. In many ways, I think he's given the Saudis a pass and he's turned a blind eye to them.
4. It is a problem people are prepared to turn a blind eye to it because people rarely notice these sites as they are covered over.
5. Please, don't turn a blind eye or passively ignore what is happening.
🚥🚥🚥🚥🚥🚥🚥🚥
#sirjimmy
#teamjimmy
#Tips
Commonly confused English word pairs
1. Accept vs Except
2. Affect vs Effect
3. Advise vs Advice
4. Capital vs Capitol
5. Compliment vs Complement
6. Conscience vs Conscious
7. Ensure vs Insure
8. Elicit vs Illicit
9. Emigrate vs Immigrate
10. Everyday vs Every day
11. Fewer vs Less
12. Hear vs Here
13. Lose vs Loose
14. Passed vs Past
15. Principal vs Principle
16. Stationary vs Stationery
17. Than vs Then
18. Their vs There vs They’re
19. To vs Too vs Two
20. Weather vs Whether
🚥🚥🚥🚥🚥🚥🚥🚥🚥🚥
#sirjimmy
#teamjimmy
#tips
WHY don't penguins fly?
Swimming is great, but flying is an obvious failure. This is due to the fact that their bones lack the familiar lightness of birds and resemble more the structure of humans and other mammals. The wings are also peculiar: they have no wing feathers, do not bend, and look more like a fish fin.
Some scientists still argue that penguins were once able to fly. Yet gradually, they were forced to find food in the water, and the flying function was sidelined.
In nature, as we know, everything you don't take advantage of gradually disappears. That's why you have to regularly strain your brain and train your ability to think!
🐧🐧🐧🐧
#teamjimmy
#sirjimmy
#Tips
🔸 Humanities: Studies about human culture, such as literature, languages, philosophy, and history.
🔸 Sciences: Studies about the world, such as physics, biology, chemistry, and maths.
🔸 A for effort: A good mark, which is given someone for trying hard rather than for a success.
🔸 Bachelor's degree: An undergraduate course which usually lasts 3 or 4 years.
🔸 Bookworm: A term to describe someone who really likes to read and spends a lot of time on it.
🔸 Distance learning (e-learning): Education that takes place remotely, usually via the Internet.
🔸 Eager beaver: An enthusiastic and hard-working person.
🔸 Face-to-face classes: A traditional way of studying - in a classroom with a teacher.
🔸 Higher education: Education that is followed after high school.
🔸 Hit the books: Begin studying hard.
🔸 Individual tuition (private tuition): Instruction received individually or in a small group.
🔸 Intensive course: A course that offers longer and more frequent class
━━━━━━━━━━━━━━━━
#sirjimmy
#teamjimmy
#Tips