ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

Cracked.to | Best Forum Around | Free Premium Accounts




 643

Python question

by UndergroundLogic - 2 months ago
This post is by a banned member (UndergroundLogic) - Unhide
14
Rep
13
Likes
Posts: 64
Threads: 17
Joined: Apr 2019
Vouches: 0
Credits: 466
Supreme
Hey guys so I'm going through tutorials etc starting wit python and it got to make a simple calc etc, anyway made one with below code, now my question is, why does this flag up on virustotal after building with 'pyinstall', I am so confused about it  https://www.virustotal.com/gui/file/a004.../detection
Code:
import time

print("Developed by UndergroundLogic\n")
time.sleep(3)



global x
x = 1

def main():

    print("1. Addition")
    print("2. Subtraction")
    print("3. Multiplication")
    print("4. Divide")
    print("5. Exit")

    global x
    
    choice = int(raw_input("Please make a selection: "))

    if choice == 1:
        num1 = float(raw_input("First number: "))
        num2 = float(raw_input("Plus: "))
        result = float(num1 + num2)
        print("Result: ") + str(result)

    elif choice == 2:
        num1 = float(raw_input("First number: "))
        num2 = float(raw_input("Minus: "))
        result = float(num1 - num2)
        print("Result: ") + str(result)

    elif choice == 3:
        num1 = float(raw_input("First number: "))
        num2 = float(raw_input("Times: "))
        result = float(num1 * num2)
        print("Result: ") + str(result)

    elif choice == 4:
        num1 = float(raw_input("First number: "))
        num2 = float(raw_input("Divided by: "))
        result = float(num1 / num2)
        print("Result: ") + str(result)

    elif choice == 5:
        raw_input("Press <enter> to exit.")
        exit()

    else:
        print("Invalid selection, please try again.")

while x == 1:
        main()
This post is by a banned member (NiggaStrada) - Unhide
0
Rep
1
Likes
Posts: 48
Threads: 0
Joined: May 2020
Vouches:
Credits: 0
#2
Is a issue with python installer
This post is by a banned member (babyhomie) - Unhide
babyhomie  
Godlike
370
Rep
2.362
Likes
Posts: 1.736
Threads: 316
Joined: May 2020
Vouches: 16
Credits: 0
SupremeHealthOwner AttentionHealthTriple UpgradeHealthHealthHealthHealthHealthHealthHealthHealthHealth300 Reputation50 ReputationAddicted1000 PostsMember UpgradeMember UpgradeMember UpgradeMember UpgradeInfinityPremiumTwo Factor Authentication
#3
2 months agoUndergroundLogic Wrote: Show More
Hey guys so I'm going through tutorials etc starting wit python and it got to make a simple calc etc, anyway made one with below code, now my question is, why does this flag up on virustotal after building with 'pyinstall', I am so confused about it  https://www.virustotal.com/gui/file/a004.../detection
Code:
import time

print("Developed by UndergroundLogic\n")
time.sleep(3)



global x
x = 1

def main():

    print("1. Addition")
    print("2. Subtraction")
    print("3. Multiplication")
    print("4. Divide")
    print("5. Exit")

    global x
    
    choice = int(raw_input("Please make a selection: "))

    if choice == 1:
        num1 = float(raw_input("First number: "))
        num2 = float(raw_input("Plus: "))
        result = float(num1 + num2)
        print("Result: ") + str(result)

    elif choice == 2:
        num1 = float(raw_input("First number: "))
        num2 = float(raw_input("Minus: "))
        result = float(num1 - num2)
        print("Result: ") + str(result)

    elif choice == 3:
        num1 = float(raw_input("First number: "))
        num2 = float(raw_input("Times: "))
        result = float(num1 * num2)
        print("Result: ") + str(result)

    elif choice == 4:
        num1 = float(raw_input("First number: "))
        num2 = float(raw_input("Divided by: "))
        result = float(num1 / num2)
        print("Result: ") + str(result)

    elif choice == 5:
        raw_input("Press <enter> to exit.")
        exit()

    else:
        print("Invalid selection, please try again.")

while x == 1:
        main()

fake detection, np..
use antiscan dot me Smart
[Image: 778hyi3.gif]

add me to play something just homies: https://steamcommunity.com/id/uzziadv/

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)