Quiz 1.7: Scope, loops and conditional statements
Q1: Variables scope
Given the following code snippet:
x = 'a'
for c in "Hello World!"
x = c
end
xWhich of the following sentences are true (assume a Julia version >= 1.5) ?
Given the following code snippet:
x = 'a'
for c in "Hello World!"
x = c
end
xWhich of the following sentences are true (assume a Julia version >= 1.5) ?