Skip to content

Instantly share code, notes, and snippets.

Empty file
@victorslimak1
victorslimak1 / Calculator.py
Created November 10, 2017 08:55
Calculator created by victor_slimak - https://repl.it/OE3c/10
import random
#Variables
num1 = 0
num2 = 0
opr = "+"
answer = 0
reply = ""
replynum= random.randrange(0,4)
while True:
@victorslimak1
victorslimak1 / Random Number Guessuer.py
Created November 10, 2017 08:52
Random Number Guessuer created by victor_slimak - https://repl.it/OEaS/4
import random
tries = 0
randomNum = random.randrange(1, 100)
while tries<3:
tries=tries+1
guess = int(input("Guess a number between 1 and 100"))
if guess == randomNum:
print("Correct")
print("Game Over")
@victorslimak1
victorslimak1 / main.py
Created November 3, 2017 17:24
First_test created by victor_slimak - https://repl.it/NiQr/4
name1 = input("What is your first name?")
name2 = input("What is your surname?")
print("Hello ",name1,name2)