Answer to Question #37825 in Python for CC
Question #37825
create a definition that has 2 arguments ‘arg1’ and ‘arg2’ print
the 2 arguments in the definition
Use try and except to call a definition when a division by zero is made “myDef()”. Use a print statement within the definition to
print out the words “FAIL”
Create 3 strings each with one of the 3 different syntax to
define a string.
Use maya cmds to create a locator search the maya python
commands to Ask the user for the position and rotation set this using maya cmds.xform
create a dialogue input that saves the user input to a
variable called “userInput”
Writes while loop that loops till a variable myFar is True
The while loop should count back alphabetically form “Z” and print the letter on each loop
the 2 arguments in the definition
Use try and except to call a definition when a division by zero is made “myDef()”. Use a print statement within the definition to
print out the words “FAIL”
Create 3 strings each with one of the 3 different syntax to
define a string.
Use maya cmds to create a locator search the maya python
commands to Ask the user for the position and rotation set this using maya cmds.xform
create a dialogue input that saves the user input to a
variable called “userInput”
Writes while loop that loops till a variable myFar is True
The while loop should count back alphabetically form “Z” and print the letter on each loop
Expert's answer
Not answered
Need a fast expert's response?
Submit orderand get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment