0
How can i import numbers?
numbers
6 Réponses
+ 2
Do mean import data from a file?
+ 2
You can't begin a variable ( function, or whatever ) name with a digit... try to:
def onex():
... or whatever you want as 'onetimes' but begining with a letter.
The underscore is also permitted, so you can name your function '_1x' if you prefer ;)
+ 1
Show us your code ^^
0
no i want to def a situation called 1x but the error is invalid synthex
0
import string from random import * def 1x(): print("...") Ps: I am new in python and i need the number, because it goes up to 18
0
thanks a lot