What is the output from print "Hi" * 10? Why do you get this output?
What will be an ideal response?
HiHiHiHiHiHiHiHiHiHi
You get this output as Python recognizes multiplying a str (string) by an int (integer) as a desire to repeat that str the number of times represented by the int.
Computer Science & Information Technology
You might also like to view...
Which of the following is the default documents directory in Windows 7?
A. C:\Windows\%username%\Documents B. C:\Users\%username%\My Documents C. C:\Documents and Settings\%username%\My Documents D. C:\%username%\Documents
Computer Science & Information Technology
When using a Filter By Form to filter records, all criteria on one line must be met by a record for the record to appear in the filtered data datasheet.____________________
Answer the following statement true (T) or false (F)
Computer Science & Information Technology