The program takes a number and reverses it.#70
Open
nehashirude wants to merge 5 commits intoAs2771:masterfrom
Open
The program takes a number and reverses it.#70nehashirude wants to merge 5 commits intoAs2771:masterfrom
nehashirude wants to merge 5 commits intoAs2771:masterfrom
Conversation
Problem Solution 1. Take the value of the integer and store in a variable. 2. Using a while loop, get each digit of the number and store the reversed number in another variable. 3. Print the reverse of the number. 4. Exit.
« How to make IRC bot in python? – my first post in TuxopiaLinked list implementation in C » Infix To Postfix conversion in python September 22, 2009 by Rag Sagar.V രാഗ് സാഗര്.വി About Infix and Postfix In an expression if the operators are placed between the operands, it is known as infix notation ( eg A+B) . On the other hand if the operators are placed after the operands then the expression is in postfix notation .( eg AB+) Infix Notation Postfix Notation (A-C)*B AC-B* A+(B*C) ABC*+ (A+B)/(C-D) AB+CD-/
Example to check whether an integer is a prime number or not using for loop and if...else statement. If the number is not prime, it's explained in output why it is not a prime number.
Example to check whether an integer is a prime number or not using for loop and if...else statement. If the number is not prime, it's explained in output why it is not a prime number.
Rename prime.py to 1prime.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem Solution