Here's the code :
import time
time.sleep(0.7)
while True:
print("Enter the word 'quit' to quit the calculator :(")
print("Enter the word 'freenet' to enroll the SSHcrack")
user_input = input(": ")
if user_input == "quit":
break
elif user_input == "freenet":
num1 = float(input("Enter a Port to Crack:"))
num2 = input("Enter a Network Name")
num3 = float(input("Enter an IP-Address,(without symbols!):"))
result = num3 / num1
result2 = result / 13
print("Injectable SSH "+ result2 +"for the Network "+num2)
Of course this is just a calculator (I only added the problem code block) and I wanted to test around with the print statement, but it gives me this TypeError:
Traceback (most recent call last):
File "<mypath>", line 51, in <module>
print("Injectable SSH "+ result2 +"for the Network "+num2)
TypeError: Can't convert 'float' object to str implicitly