Aug-03-2018, 07:36 AM
hi there super beginner here and trying out the rock paper scissors game question using python
just the first portion is posted since the rest should be similar
however it seems that the while loop first line is not even activated, why is this so?
just the first portion is posted since the rest should be similar
however it seems that the while loop first line is not even activated, why is this so?
first = input ("rock paper scissors?: ") second = input ("rock paper scissors?: ") rock = 5 paper = 10 scissors = 15 print(rock) while first == 5: print ("activated") if second == 15: print ("congrats player 1") break elif second == 10: print ("congrats player 2") break else: print ("draw") continuethank u very much in advance!!!