AskMeCode
The Journal
Make Your App Idea Real Quick With Our Windows App
Welcome to Make Your App Idea Real Quick With Our Windows App. It is a blog with information on using windows apps to create your own app ideas. You have an idea for a new app, but you don’t know how to make it? It doesn’t matter if you are a beginner or an expert, […]
4 Ways To Convert An Integer to a Short
public class Factorial { public static void main(String[] args) { // TODO code application logic here int number = 5; long fact = 1; for(int i = 1; i
How Long Should My Code Be? A blog describing different ways to check the length of your code
The first and easiest way to check the length of your code is by using the built-in function len() >>> len(“How long should my code be?”) 27 This method works for strings, lists, tuples, sets, and dictionaries. Note: When referring to ‘length’, all that is being checked is how many characters are in a string. […]
Introducing cmu codes
Welcome to cmu codes, the blog of the software development company, cmu codes. Our blog contains articles on everything you need to know to become a software developer. When we talk about developers, we mean those who are either new to the field and want to learn, or those who have been in the field […]
Tries to write Pi using your computer’s CPU. There are many ways to approach this problem, but we wanted a solution that was fairly easy to understand and was readily adaptable to different hardware. In the past few months we have been working on some algorithms and code, with the goal of optimizing this script so that it tries all available combinations before outputting an answer. We believe we have found a solution that will be useful for other programmers trying to do the same thing. Currently this is a
public class Pi { public static void main(String[] args) { int max = 1_000_000; int increment = max / 8; long startTime = System.currentTimeMillis(); //int stopTime = System.currentTimeMillis() – startTime; int counter = 0; while (counter 100 && y>100) { if (isPalindrome(x*y)) { largest = x*y; found = true; break; } else if (x%11==0){ // […]
What Do You Need to Know About Bar Codes? Five basic facts you need to know
What Do You Need to Know About Bar Codes? Five basic facts you need to know 1. The standard UPC bar code is a one dimensional (or 1D) bar code that is made up of black bars and white spaces of varying widths that can be read by a laser. This type of bar code […]
Best and Worst Seats in a Classroom
def is_leap(year): leap = False if year % 4 == 0 and (year % 400 == 0 or year % 100 != 0): leap = True return leap year = int(input()) print(is_leap(year)) A leap year is a year containing one additional day added to keep the calendar year synchronized with the astronomical or seasonal year. […]
An AI-Generated City Map
The purpose of this exploration was to see how accurate a map could be created by AI. The end result is a fully detailed city map that can be used for many different purposes. To accomplish this, I used two pre-trained models: Swiftkey’s QuickDraw Model – A dataset of 50 million human-drawn images grouped into […]
Types and Fabrication of Water Tanks
Water tanks are containers with the capacity of holding water for later use. They can be made from different materials, including plastic, stainless steel, concrete or steel. Water tanks are used for a wide range of applications, from collecting rainwater to storing hot water for heating. Water tanks can also be manufactured for commercial and […]
Generate Valid Credit Card Numbers And Cvv On Your Mobile In Few Seconds
Learn How to Generate Valid Credit Card Numbers and Cvv on Your Mobile In Few Seconds. A blog around the use of generating credit card numbers. Generate MasterCard Credit Card Number with CVV and Expiry date! Credit Card Generator is a free mobile application designed for testing various algorithms related to credit cards. You can […]
Introduction to Python
This tutorial goes over the basics of programming in Python. The tutorial will also cover some of Python’s built-in functions, and how to create your own functions. Python is a very simple language to learn and use, while at the same time being very powerful: It is one of the most used languages by highly […]
The Future of Coding
The Future of Coding: an article about how coding is becoming more popular in the future. The future has arrived and it’s called coding. Programming is a skill that is in high demand around the world and the need for coders will only continue to grow. In today’s digital age, practically every job requires some […]