Skip to content

Instantly share code, notes, and snippets.

View decorator-factory's full-sized avatar
🦆
duck

decorator-factory

🦆
duck
View GitHub Profile
@decorator-factory
decorator-factory / silly-interview-questions-and-answers.md
Last active January 16, 2023 13:27
Silly interview questions and answers

When I was looking forward to my first job interview, I was (naturally) anxious, so I wanted to prepare well. I opened up a search engine and typed in: "Python interview questions".

To my surprise, I found dozens of articles with outdated, plain wrong and supernaturally hilarious "interview questions" and even worse "answers" to them. In this post, I've compiled some of them with my own commentary. I've sprinlked in some related guides of poor quality.

I tried ordering the sections as they lose the connection to reality.

Dynamic typing

Source

Python is dynamically typed, this means that you don’t need to state the types of variables when you declare them or anything like that. You can do things like x=111 and then x="I'm a string" without error

@atomjar
atomjar / product_style
Last active January 22, 2024 11:57
Stylesheet for Vue Mastery's Intro to Vue course
body {
font-family: tahoma;
color:#282828;
margin: 0px;
}
.nav-bar {
background: linear-gradient(-90deg, #84CF6A, #16C0B0);
height: 60px;
margin-bottom: 15px;