0
i need help with this code on Python for Beginners leaderborads
i did this code but no work print(d) d=''' 1. 2. 3. 4. 5. 6. 7. 8. 9.'''
8 Réponses
+ 2
Coding Cat [Mouse searching] but ' it can be used three times same as "
+ 2
#your code goes here
print("""
1.
2.
3.
4.
5.
6.
7.
8.
9.""")
+ 1
Basel.Al_hajeri?.MBH()
Yes, your'e right. I don't saw it right. I'm too old for this small mobile screen 😞
+ 1
Coding Cat [Mouse searching] no matter we always take this mistake 😜
+ 1
I mean, sure, that'll work, but so will :
for x in range(1,10):
print(f"{x}.")
0
You defined the d after print it try
d=...
print(d)
0
And you are using a multi line text. Then u have to use """ (3 times a ")
d = """
1.
2.
3."""
print(d)
0
Thanks Guys Really Big Help