What was on the 801? The same questions on RAM, Networks, Printing etc?Class and self study.....
i have 801-802 exam vochers
What was on the 801? The same questions on RAM, Networks, Printing etc?Class and self study.....
i have 801-802 exam vochers
some networks, couple question about laser printer, conpoment on a motherboard like cpu, cpu fan and RAM and P.C technician protocol... A lot questions about internet protocol like what port number is IMAP or SMTP or POP. Couple question about wireless protocolWhat was on the 801? The same questions on RAM, Networks, Printing etc?
some networks, couple question about laser printer, conpoment on a motherboard like cpu, cpu fan and RAM and P.C technician protocol... A lot questions about internet protocol like what port number is IMAP or SMTP or POP. Couple question about wireless protocol
One simulator was about computer motherboard another was speed and range of each wireless class... Last one is about speed and functions of bluetooth, Celluar and IrDAWhat were the simulators like?
brehs this python class has me brain farting hard on this assignment. i know how to do the rest, but i cant get past this first step
- Use sys module to accept 2 command-line inputs to the script (as the script is invoked) and name them num1, num2.
help brehs
Kinda hard to gauge what you're trying to do without looking at the question but it sounds like they're asking you to import the sys module then get raw input from the user and assign it to those variables.
Something like:
import sys
num1 = raw_input("What do you want num1 to be?" )
num2 = raw_input("What do you want num2 to be?" )
that's actually what i figured, that it would be raw input, sorry shoulda elaborated more. thanks bruh
each one teach one breh
for sure man, btw here's the rest of the question incase that changes the first step. the rest of the if/else statement stuff is easy tho and i can do it, but i shoulda included it when i first asked for help
- Use sys module to accept 2 command-line inputs to the script (as the script is invoked) and name them num1, num2.
- Use if/else statements to print "the numbers are EQUAL" when the variables are equal or "the numbers are NOT EQUAL" when the variables are not equal.
- Use an if-statement to print "the first number is LESS" when the first number is less than the second.
- Use another if-statement to print "the second number is LESS" when the second number is less than the first.
import sys
num1 = raw_input("Enter num1")
num2 = raw_input("Enter num2")
if num1 == num2:
print("the numbers are EQUAL")
elif num1 < num2:
print("the first number is LESS")
elif num1 > num2:
print("the second number is LESS")
That should do what you need to do
breh you really helped a brotha out before this test tomorrow . thanks for real
import sys
num1 = raw_input("Enter num1")
num2 = raw_input("Enter num2")
if num1 == num2:
print("the numbers are EQUAL")
elif num1 < num2:
print("the first number is LESS")
elif num1 > num2:
print("the second number is LESS")
That should do what you need to do