Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.99 KB | None | 0 0
  1. print("Hello. I'm going to help you with Roblox Trade Currency.")
  2. print("First of all, what currency do you want to trade?")
  3.  
  4. while 1:
  5.    
  6.     answer = raw_input("Tickets or ROBUX: ")
  7.  
  8.     if answer == "Tickets":
  9.         tammount = input("Enter number of Tickets: ")
  10.         print("Now find the top rate under the \"Available Tickets\" column.")
  11.         trate = input("Enter the Ticket top rate: ")
  12.         tresult = tammount / trate
  13.         import math
  14.         tnumber = math.floor(tresult)
  15.         tprint = str(tnumber)
  16.         print("Your desired ROBUX should be: " + tprint + ".")
  17.         print("Thank you for using LMBOX's TC Helper.")
  18.         while 2:
  19.             print("Do you want to (t)ry again or (q)uit?")
  20.             tanswer = raw_input("t/q?: ")
  21.             if tanswer == "t":
  22.                 #This is where I need help.
  23.             elif tanswer = "q":
  24.                 break
  25.             else print("I'm sorry, could not understand what you wanted. Please enter either t to try again or q to quit.")
  26.        
  27.     elif answer == "ROBUX":
  28.         rammount = input("Enter number of ROBUX: ")
  29.         print("Now find the top rate under the \"Available ROBUX\" column.")
  30.         rrate = input("Enter the ROBUX top rate: ")
  31.         rresult = rammount * rrate
  32.         import math
  33.         rnumber = math.floor(rresult)
  34.         rprint = str(rresult)
  35.         print("Your desired Tickets should be: " + rprint + ".")
  36.         print("Thank you for using LMBOX's TC Helper."
  37.         while 2:
  38.             print("Do you want to (t)ry again or (q)uit?")
  39.             rranswer = raw_input("t/q?: ")
  40.             if rranswer = "t":
  41.              
  42.             elif rranswer = "q":
  43.                 break
  44.             else print("I'm sorry, could not understand what you wanted. Please enter either t or try again or q to quit.")
  45.        
  46.     else:
  47.         print("I'm sorry, but I could not understand what your currency is. Please either say Tickets or ROBUX. Make sure to type it exactly as it appears.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement