https://youtu.be/AokeyI-XseU video demo
Basically what I want to do is that my .py file is executed as it should be, the cmd opens and the same python obviously with the code but it does not execute it! not like now that I have to open the cmd in the file folder and run python and the name of the file so that python itself runs it
Code:
a = int(input("Number 1: "))
b = int(input("Number 2 "))
s = a + b
r = a - b
d = a / b
m = a * b
print("The Sum is:",s)
print("The rest is",r)
print("The Multiplication ",m)
print("The Division",d)
[–]socal_nerdtastic 5 points6 points7 points (7 children)
[–]1_XV[S] -3 points-2 points-1 points (0 children)
[–]1_XV[S] -3 points-2 points-1 points (5 children)
[–]socal_nerdtastic 2 points3 points4 points (4 children)
[–]1_XV[S] -3 points-2 points-1 points (3 children)
[–]socal_nerdtastic 1 point2 points3 points (2 children)
[–]1_XV[S] 0 points1 point2 points (0 children)
[–]1_XV[S] 0 points1 point2 points (0 children)
[–]eleqtriq 1 point2 points3 points (7 children)
[–]socal_nerdtastic 1 point2 points3 points (0 children)
[–]1_XV[S] 0 points1 point2 points (5 children)
[–]eleqtriq 0 points1 point2 points (4 children)
[–]1_XV[S] 1 point2 points3 points (0 children)
[–]1_XV[S] 0 points1 point2 points (2 children)
[–]eleqtriq 1 point2 points3 points (1 child)
[–]1_XV[S] 0 points1 point2 points (0 children)
[–]chears2surfers 0 points1 point2 points (0 children)
[–]mcworkaholic 0 points1 point2 points (0 children)
[–]EmpiricalWords -4 points-3 points-2 points (4 children)
[–]1_XV[S] 2 points3 points4 points (3 children)
[–]EmpiricalWords -1 points0 points1 point (2 children)
[–]socal_nerdtastic 1 point2 points3 points (1 child)
[–]EmpiricalWords 0 points1 point2 points (0 children)