AskMeCode
The Journal
What is the Leap Year Program in C? A blog about the C programming language and how Leap Year is handled in it.
The C programming language is a popular and widely used programming language for creating computer programs. Programmers around the world embrace C because it gives maximum control and efficiency to the programmer. If you are reading this article, chances are that you already know about Leap Year. But if not, let me tell you that […]
How To Resolve A Bad Code? Only one of many ways to resolve a bad code.
How To Resolve A Bad Code? 1) Start from the beginning of your code and read it all through. 2) While reading, look for any obvious mistakes. Think about what you mean to do, not what you wrote down. Fix anything that is obviously wrong. 3) Compile your program. If there are no errors, then […]
Code Faster with this Quick Sketch to Code Converter
Code Faster with this Quick Sketch to Code Converter: A blog about sketch-to-code drawing tool.Microsoft Garage has been working on a new project that allows you to create a website by simply drawing it on a whiteboard with your hands. It is called Sktech2Code and it is turning hand-drawn sketches into HTML code. This is […]
Don’t Overlook the Importance of Kerning
If you’ve ever looked at a logo or typeface and thought to yourself “That looks odd, I can’t quite put my finger on it…”, the odds are good that it was the kerning that stood out to you. While most people understand the importance of choosing the right typeface, and even how to use bold […]
what are the most common coding interview questions? Here you go
The time has come to share the top 50 most common coding interview questions asked in interviews. These questions have been picked from different sources, like TopCoder, Glassdoor, Quora and just by my own experience. I hope these questions will help you prepare for your next coding interview. These are the most popular so I […]
What Every Beginner Should Know Before Learning Coding
Before learning any coding language, it’s important to know what you want to get out of it. Do you want to make games? Websites? Applications for your phone? Write software for a company? These are all great reasons, but I recommend thinking about it a bit more. Coding is empowering. It gives you the ability […]
Handling Asynchronous Errors in Python
A common pattern in async code is to handle errors with try/except: async def main(): task1 = asyncio.create_task(factorial(“A”, 2)) task2 = asyncio.create_task(factorial(“B”, 1)) await task1 await task2 try: asyncio.run(main()) except Exception as e: print(f”Caught error: {e!r}”) import math def factorial(n): if n == 0: return 1 else: recurse = factorial(n-1) result = n * recurse […]
Python 3 Cheat Sheet
The Python Programming for Beginners Cheat Sheet is created by our very own developer, Patrick King. This free cheatsheet contains a variety of helpful tips and tricks that can help you become a Python programmer. What’s your favorite feature or trick? Leave it in the comments below! If you want to start programming, or if […]
How to Hire an Agency? Look at their Work
How to Hire an Agency? Look at their Work: A blog on hiring an agency and evaluating their portfolio. This is a guest post by Abhishek Kumar, co-founder of Sketch2Code. Sketch2Code is a Visual Studio Code extension that enables developers to get the HTML code from handwritten user interface mockups. This extension works with Microsoft […]
7 Tips to Improve your Python Programming
This blog is all about top 7 tips to improve your python programming. 1. Make use of inbuilt functions. 2. Write readable code with proper comments and documentation. 3. Follow PEP8 style guide and avoid common mistakes like variable name should be lowercase, function names should be written in lower case and words are separated […]
What Is A Good Scale For A Job Interview? – cmu codes
What Is A Good Scale For A Job Interview? I’ve been asked this question a lot lately. The answer is that it depends on your needs. What are you looking to get out of the interview? What are you trying to accomplish? If you want a good job, then by all means go with the […]
An Overview of Python Basics and Data Types
This is a quick overview of the Python programming language, including its syntax, variables, data types, and more. Python is an open-source programming language that was released in 1991. Since then, it has gained widespread use across all types of technology. It’s known for its simplicity and flexibility. For example, you can use Python for […]