Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The program takes a number and reverses it. #70

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

nehashirude
Copy link

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant