What is wrong with this code and correct it.
def swapping_stars():
line_str = ""
<...
Computers and Technology, 11.06.2021 01:10, tyreque
What is wrong with this code and correct it.
def swapping_stars():
line_str = ""
for line in range(0, 6):
for char in range(0,6):
if line % 2 == char % 2:
line_str += "*"
else:
line_str += "-"
print(line_str)
Answers: 3
Computers and Technology, 22.06.2019 15:00, taylorsamodell3217
Who is the first president to use social media as part of his campaign strategy
Answers: 1
Computers and Technology, 22.06.2019 18:00, ladyree8721
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
Biology, 30.11.2019 07:31
History, 30.11.2019 07:31
Chemistry, 30.11.2019 07:31