Python Coding Profile picture
Aug 24, 2022 23 tweets 10 min read Read on X
Top 22 Python Interview Questions.
🧵:
1. Count Character Occurrences using Python
2. Palindrome Words using Python
3. Age Calculator using Python
4. Validate Anagrams using Python
5. Python code for Pascal's Triangle
6. Full Diamond Pattern in Python
7. Selection sort in Python
8. Bubble sort using Python
9. Insertion sort using Python
10. Perfect number verification in Python
11. Primes Numbers smaller than or equal to the Number
12. Assign a value to a key in Python
13. Python Program to Check Armstrong Number
14. Python Program to Print the Fibonacci sequence
15. Python Program to find the factors of a number
16. Python program to find the factorial of a number
17. Floyd's Triangle in Python using for loop
18. Python program to add two numbers
19. Function to find permutations of a given string
20. Program to swap first and last element of a list
21. Bitwise Operations on Integer Types
22. Python Program to Check a Number is a Disarium Number

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Python Coding

Python Coding Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @clcoding

Jul 22
Do you know what is the difference between these two images?

Let's explore a AI tool that solve this problem

Here's how to create any High Resolution Image : ↓ Image
An AI tool by @Astria_AI

Here you can upload and blur/old picture to get in high resolution

For examples: docs.astria.ai/docs/use-cases…
Image
You can also do the professional/Corporate Photo shoot Image
Read 6 tweets
Jul 20
Why you should use PEP 8 guidelines ?
🧵:
1. Consistency
Reason: Consistent code is easier to read and understand. PEP 8 provides a standard style guide that promotes consistency across different projects and among different developers. Image
2. Readability
Reason: Readable code is easier to understand and debug. PEP 8 encourages practices that make your code more readable. Image
Read 8 tweets
Jul 12
10 Level of writing Python List
Level 1: Basic List Creation
Level 2: Accessing List Elements Image
Level 3: List Slicing
Level 4: Adding Elements to a List Image
Read 7 tweets
Jun 25
Transforming Dirty Data into Clean Data 🧵:
Process Data from Dirty to Clean
clcoding.com/2023/11/proces…
Image
What you'll learn
Define different types of data integrity and identify risks to data integrity.

Apply basic SQL functions to clean string variables in a database.

Develop basic SQL queries for use on databases.

Describe the process of verifying data cleaning results.
Read 6 tweets
Jun 6
Getters and Setters in Python
Step 1: Understanding Attributes
In Python, a class can have attributes (variables) that store information. For example, a Person class might have attributes for name and age. Image
Step 2: Introducing Private Attributes
To protect the attributes and ensure they are not changed directly, we make them private by prefixing them with an underscore _. This is a convention in Python to indicate that these attributes should not be accessed directly. Image
Read 10 tweets
May 19
Common Python Errors and How to Fix Them
🧵
SyntaxError: invalid syntax
This usually means there's a typo or a mistake in the code structure. Check for missing colons, parentheses, or indentation errors. Image
NameError: name 'variable' is not defined
This occurs when you try to use a variable or function before it's declared. Ensure that all variables and functions are defined before use. Image
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(