Q:

why do i get "Attribute Error: 'int' object has no attribute 'lower'"?

i need x to be an integer so my next part of code works, but as soon as i remove quotation marks around 0,1 or 2 where it says "making input readable for computer" i get this error message. 
from random import randint

# Input
print("Rock: R   Paper: P   Scissors: S")
x = input("Please pick your choice: ")

y = randint(0,2)

#Making input readable for computer
if x.lower() == "r":
    x = 0;

if x.lower() == "p":
    x = "1";

if x.lower() == "s":
    x = "2";

print("value entered ", x, "value generated ", y)

if (x == y):
    print("It's a draw!")

# Calculating "Who wins?"
if x == 0 and y == 1:
    print("Computer wins!")
if x == 0 and y == 2:
    print("You won!")

if x == 1 and y == 0:
    print("You won!")
if x == 1 and y == 2:
    print("Computer wins!")

if x == 2 and y == 0:
    print("Computer wins!")
if x == 2 and y == 1:
    print("You won!")

A:

You should be using elif here:
if x.lower() == "r":
    x = 0

elif x.lower() == "p":
    x = 1

elif x.lower() == "s":
    x = 2

Otherwise, all three conditions are evaluated with every run.  Meaning, if the first passes, then x will be an integer for the second.

Also, you should write your code like this:
x = x.lower()  # Put this up here

if x == "r":
    x = 0

elif x == "p":
    x = 1

elif x == "s":
    x = 2

That way, you don't call str.lower multiple times.
Lastly, Python does not use semicolons.

